CVE-2020-0970: ChakraCore Remote Code Execution Vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.97056%
CWE
Published
5/24/2022
Updated
7/17/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Microsoft.ChakraCore | nuget | < 1.11.18 | 1.11.18 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper memory handling in ChakraCore's PathTypeHandler. The patch adds a critical check to ClearSingletonInstanceIfSame()
in GrowHandlerToBiggerSize
, indicating the original code failed to clear singleton instances when modifying type paths. This omission could leave dangling pointers or invalid memory references, enabling memory corruption via out-of-bounds writes (CWE-787). The direct association between the patched code and the CWE, along with the commit's explicit CVE reference, confirms this function's role in the vulnerability.