CVE-2018-8372: ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.97697%
CWE
Published
5/13/2022
Updated
10/6/2023
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.0/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.10.2 | 1.10.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper type handling in ChakraCore's array operations. The patch replaced unsafe comparisons (InsertCompareBranch
) with type-aware InsertMissingItemCompareBranch
and introduced GetMissingItemOpndForAssignment
/Compare
to handle Float64
via uint64
/uint32
bitwise checks. The BackwardPass.cpp
change fixed a logic error in native array validation. These changes directly address type confusion scenarios where incorrect data types were used for memory operations, leading to exploitable memory corruption.