CVE-2020-0711: ChakraCore RCE Vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89455%
CWE
Published
5/24/2022
Updated
7/13/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.16 | 1.11.16 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper scope management for functions declared in parameter lists. The commit diff shows critical modifications to: 1) Symbol binding logic (BindPidRefsInScope) to handle parameter-scope function declarations, 2) Function declaration flags (ParseFncDeclInternal) to track parameter-scope origins, and 3) Bytecode emission logic (StartEmitFunction) to handle merged scopes. These functions directly correlate with the CWE-787/CWE-119 descriptions of out-of-bounds writes and memory corruption through improper scope handling, as evidenced by the added test cases validating parameter-scope function behavior.