vendor:
N/A
by:
Anonymous
7.5
CVSS
HIGH
Out-of-Bounds Read/Write
787
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: N/A
2020
Out-of-Bounds Read/Write in JSArray::shiftCountWithArrayStorage
The vulnerability is caused by the JSArray::shiftCountWithArrayStorage method not properly checking for arrays with holes. By setting the length of an array to 0xfffffff0 and then splicing it, the hasHoles method will return false, leading to OOB reads/writes in the JSArray::unshiftCountWithArrayStorage method.
Mitigation:
Ensure that the hasHoles method is properly checked for arrays with holes.