vendor:
ChakraCore
by:
Huang Anwen, He Xiaoxiao
8,8
CVSS
HIGH
Heap Based Overflow
119
CWE
Product Name: ChakraCore
Affected Version From: ChakraCore-master
Affected Version To: ChakraCore-master
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: All
2018
Heap Based Overflow in ChakraCore
This vulnerability is a heap based overflow in ChakraCore, a JavaScript engine developed by Microsoft. The vulnerability exists in the InterpreterStackFrame::InterpreterHelper function in the lib/Runtime/Language/InterpreterStackFrame.cpp file. The vulnerability is triggered when the number of local variables exceeds the InterpreterStackFrame::LocalsThreshold limit. This causes the buffer to be allocated on the heap instead of the stack, which can lead to a heap based overflow.
Mitigation:
The best way to mitigate this vulnerability is to ensure that the number of local variables does not exceed the InterpreterStackFrame::LocalsThreshold limit.