CVE-2018-8380: ChakraCore remote code execution vulnerability
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.89418%
CWE
Published
5/13/2022
Updated
8/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.10.2 | 1.10.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows critical changes to exception handling logic. The vulnerability (CWE-787) stems from improper tracking of exception frames. WalkAndClearInlineeFrameCallInfoOnException
previously validated frames against tryCatchFrameAddr
, which was incorrectly managed by TryCatchFrameAddrStack
. The patch replaces tryCatchFrameAddr
with tryHandlerAddrOfReturnAddr
, fixing the OOB write by ensuring correct address validation during stack unwinding.