CVE-2018-0939: ChakraCore information disclosure vulnerability
4.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91804%
CWE
Published
5/13/2022
Updated
10/5/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
Microsoft.ChakraCore | nuget | < 1.8.2 | 1.8.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the missing TrackAssignment
call for knopAsg nodes in GetRightSideNodeFromPattern
. The GitHub patch explicitly adds this handling (TrackAssignment<true>(pnode->sxBin.pnode1, nullptr)
) for assignment operations in object destructuring patterns. This omission in the original code would leave memory references improperly tracked, creating conditions for memory corruption (CWE-787
) and information leakage. The direct correlation between the patch and the CWE
classification confirms this function
's role in the vulnerability.