CVE-2018-8555: ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89812%
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.3 | 1.11.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing handling of Array Concat operations in ChakraCore's JIT optimizer. The commit adds IR::HelperArray_Concat to two critical locations: 1) In CheckJsArrayKills, where array segment metadata is updated, and 2) In ProcessArrayValueKills, where live array tracking is cleared. Without these checks, the optimizer would fail to invalidate array buffer assumptions after concat operations, leading to type confusion and out-of-bounds writes when optimized code accesses arrays based on incorrect memory layout assumptions.