-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CVE-2017-11889] UaF On the latest Patch - Qihoo 360
This change addresses a UAF that occurs when jitted code tries to index into a detached ArrayBuffer. The POC involves the convergence of JITing - a virtual type buffer (a certain performant type buffer that meets certain criteria) - A proxy object whose setter can cause the type buffer to be detached With this, it's possible to JIT code that indexes into the buffer without any checks. Thus, it's possible to index into the freed memory that backed the ArrayBuffer. The fix is to make sure that any call before a virtual ArrayBuffer access has a bailout to detect and protect against this assertion.
- Loading branch information
1 parent
fde1643
commit 66b9abb
Showing
4 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters