Use after free vulnerability in the String.replace method JavaScriptCore in Apple Safari in iOS before 10.3 allows remote attackers to execute arbitrary code via a crafted web page, or a crafted file.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://support.apple.com/en-us/HT207617 | vendor advisory |
https://www.exploit-db.com/exploits/41964/ | exploit |
http://www.zerodayinitiative.com/advisories/ZDI-17-321 | third party advisory vdb entry |
http://www.securityfocus.com/bid/98316 | third party advisory vdb entry |