CVE-2018-8355:
ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98894%
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 arises from JIT inlining of String.prototype.localeCompare
, as shown in the exploit PoC and patch analysis. The commit removes handling of JavascriptString_LocaleCompare
in critical JIT components (Inline.cpp
, InliningDecider.cpp
) and disables its registration as an inlineable built-in (JavascriptLibrary.cpp
). These changes directly address the type confusion caused by improper ImplicitCallFlags
handling when localeCompare
's JavaScript implementation (in Intl.js
) was invoked during JIT optimization. The removed functions facilitated unsafe inlining, making them root causes.