CVE-2018-8298 ChakraCore Scripting Engine Type Confusion

Exploited in the wild High 7.5 Published Updated

Remote attackers can execute arbitrary code by exploiting a memory corruption flaw in the ChakraCore scripting engine.

Exploited in the wild
Since 3 Mar 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-8298?

CVE-2018-8298 is a high-severity memory corruption vulnerability in Microsoft Chakracore, published on 11 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A remote code execution vulnerability exists in the way that the ChakraCore scripting engine handles objects in memory, aka "Scripting Engine Memory Corruption Vulnerability." This affects ChakraCore. This CVE ID is unique from CVE-2018-8242, CVE-2018-8283, CVE-2018-8287, CVE-2018-8288, CVE-2018-8291, CVE-2018-8296.

Weakness: CWE-843

Which versions are affected by CVE-2018-8298?

2 open source packages ship an affected version, including Microsoft.ChakraCore. It affects 1 product.

PackageAffectedFixed in
Microsoft.ChakraCore NuGetAll versions1.10.1
Microsoft.ChakraCore NuGetAll versions1.10.1

Products include Microsoft Chakracore.

How do I fix CVE-2018-8298?

Upgrade Microsoft.ChakraCore to 1.10.1 or later. US federal agencies must fix it by 17 Mar 2022.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-8298 being exploited?

Yes. Attackers have exploited CVE-2018-8298 in the wild since at least 3 Mar 2022.

Public exploit code: 1 Exploit-DB entry.

All Microsoft Chakracore vulnerabilities

Sources

Also known as GHSA-wgw2-wwq8-c7wf.

Is CVE-2018-8298 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free