CVE-2018-8505: ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91513%
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.11.2 | 1.11.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The patch adds critical missing item checks (SparseArraySegment<int32>::IsMissingItem
) in two key locations: 1) In JavascriptOperators.cpp
's NativeIntArray
handling, where type confusion could occur during JIT optimization by accepting values that resolve to memory corruption markers. 2) In JavascriptArray.cpp
's DirectSetItemAt
, where debug-only assertions were insufficient protection against invalid writes in release builds. Both locations directly correspond to the CWE-787 (out-of-bounds write) description and the commit's focus on fixing type confusion in JIT operations.