LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2018-8298: ChakraCore Scripting Engine Type Confusion Vulnerability

RBRecent Breaches Vulnerability Intelligence·Mar 3, 2022
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Mar 17, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2018-8298 to its Known Exploited Vulnerabilities catalog on Mar 3, 2022, with a federal patch deadline of Mar 17, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

The ChakraCore scripting engine contains a type confusion vulnerability which can allow for remote code execution.

CVE-2018-8298 is a type confusion vulnerability in the ChakraCore scripting engine. When successfully abused, it can allow remote code execution. For IT and security teams, this matters because ChakraCore is used to run JavaScript in environments that process untrusted content; a successful exploit can give an attacker code execution in the context of the affected process. Confirm exact product scope and fixed builds against the vendor advisory.

CISA summarizes the issue as a type confusion flaw in the ChakraCore scripting engine that can allow remote code execution. Known ransomware use is not documented for this CVE. The required action is to apply updates per vendor instructions.

How it works

This vulnerability is classified as CWE-843 (Access of Resource Using Incompatible Type, commonly called type confusion). In a scripting engine, the runtime tracks the type of objects and values so operations are performed safely. Type confusion occurs when the engine treats a resource as one type when it is actually another. That mismatch can break memory safety assumptions inside the engine.

An attacker who can supply crafted script or content that the ChakraCore engine will parse and execute may trigger the confused type handling. In this class of flaw, the goal is typically to corrupt engine state in a way that leads to arbitrary code execution in the host process. Public detail in the provided record does not describe exact trigger conditions, heap layout, or exploit primitives; treat any such claims as unconfirmed unless they appear in the vendor advisory. Defenders should assume that untrusted script processed by a vulnerable ChakraCore build is the primary attack surface.

Am I affected? How to find it in your systems

ChakraCore is a standalone JavaScript scripting engine. It may appear in applications, services, or toolchains that embed ChakraCore for script execution, as well as in development and test environments that pull the ChakraCore package or binaries. It is not limited to a single end-user product name in the facts provided; inventory must focus on the engine itself.

How to remediate

Patch first. Apply the updates the vendor released for CVE-2018-8298 and follow the vendor’s installation and restart guidance. CISA’s required action is to apply updates per vendor instructions. After patching, verify the running ChakraCore version matches a fixed build from the advisory.

If you can't patch immediately

Compensating controls reduce exposure until the vendor update is deployed. They do not replace the patch.

If your data may have been exposed

Actively exploited remote code execution vulnerabilities can lead to host compromise and data theft even when ransomware use is not documented for the CVE. If you had vulnerable ChakraCore builds reachable by untrusted input, investigate those systems for intrusion, rotate credentials that may have been accessible from the host, and follow your incident response process. You can run a free exposure scan of your email addresses against known breach data to see whether your accounts already appear in public breach corpora while you complete containment and patching.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedChakraCore · ChakraCore scripting engine
WeaknessCWE-843
Added to CISA KEVMar 3, 2022
Federal patch deadlineMar 17, 2022
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities