CVE-2018-8390: ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91018%
CWE
Published
5/13/2022
Updated
7/21/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 commit 63ae30a in the ChakraCore repository explicitly addresses CVE-2018-8390 by modifying a critical condition in NativeCodeGenerator::GatherCodeGenData
. The vulnerability stemmed from improper handling of deferred function
inlining in the JIT compiler, where a mismatch between fixed function
objects and their execution context could lead to memory corruption. The code change directly correlates with the CWE-787 (Out-of-bounds Write) description and the advisory's focus on object memory handling flaws in the scripting engine.