CVE-2019-0806:
ChakraCore RCE Vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.88665%
CWE
Published
5/13/2022
Updated
9/28/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.8 | 1.11.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper type handling when objects become prototypes. Key issues were:
- In GlobOptFields.cpp, ProcessFieldKills failed to fully invalidate types via KillAllObjectTypes(), leaving incorrect JIT assumptions.
- In Lower.cpp, field store operations didn't check IsPrototype() status or invalidate prototype caches, allowing type confusion. The patch adds these checks and invalidation calls (HelperInvalidateProtoCaches), confirming these were missing vectors. The CWE-787 (OOB write) manifests when type confusion leads to memory corruption via invalid memory accesses.