New issue
Advanced search Search tips
Starred by 3 users
Status: Fixed
Owner:
Closed: Aug 16
Cc:



Sign in to add a comment
Microsoft Edge: Out-of-bounds access when fetching source
Project Member Reported by natashenka@google.com, May 31 2017 Back to list
The attached JavaScript file causes an out-of-bounds access of the source buffer when fetching the source for one of the functions during delayed compilation. The out-of-bounds value is then treated as the pointer to the source. This is likely an exploitable condition.

In the debug build of Chakra, this script hits the following assert:

ASSERTION 19041: (/home/user/test_everywhere/ChakraCore/lib/Common/DataStructures/List.h, line 329) index >= 0 && index < this->count
 Failure: (index >= 0 && index < this->count)
Illegal instruction (core dumped)

The attached script is a test case from the v8 (Chrome) test repository, minimized to show the issue.

This bug is subject to a 90 day disclosure deadline. After 90 days elapse
or a patch has been made broadly available, the bug report will become
visible to the public.

 
oob.txt
5.1 KB View Download
Project Member Comment 1 by natashenka@google.com, Aug 16
Labels: -Restrict-View-Commit CVE-2017-8657
Fixed last week.
Project Member Comment 2 by natashenka@google.com, Aug 16
Status: Fixed
Sign in to add a comment