vendor:
N/A
by:
Project Zero
7,5
CVSS
HIGH
Type Confusion
843
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
2017
JavaScript JIT Type Confusion Vulnerability
The above JavaScript code is JITed as follows: CHECKING THE TYPE OF B ... OP_Memset(a, v, a.length); b[0] = 2.3023e-320; But there's no ImplicitCallFlags checks around OP_Memset. So it fails to detect if the type of 'b' was changed after the 'OP_Memset' called. The PoC shows that it can result in type confusion.
Mitigation:
Implement ImplicitCallFlags checks around OP_Memset.