vendor:
N/A
by:
Project Zero
7,5
CVSS
HIGH
Out-of-Bounds Read
125
CWE
Product Name: N/A
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2020
Out-of-Bounds Read in Array.prototype.splice
The Array.prototype.splice function in JavaScript can be used to trigger an out-of-bounds read. If a garbage collection is triggered before the values in the array are initialized, the garbage collector will refer to the uninitialized values. This can be exploited by creating an array with a large number of elements, and then using the splice function to access the uninitialized values.
Mitigation:
Ensure that all values in an array are initialized before the garbage collector is triggered.