CVE-2018-8139 ChakraCore RCE Vulnerability

High 7.5 Published Updated

Remote code execution via memory corruption in the Microsoft Edge scripting engine allows attackers to execute arbitrary code.

Exploited in the wild
Not known
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-8139?

CVE-2018-8139 is a high-severity memory corruption vulnerability in Microsoft Chakracore, published on 9 May 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 scripting engine handles objects in memory in Microsoft Edge, aka "Scripting Engine Memory Corruption Vulnerability." This affects Microsoft Edge, ChakraCore. This CVE ID is unique from CVE-2018-0945, CVE-2018-0946, CVE-2018-0951, CVE-2018-0953, CVE-2018-0954, CVE-2018-0955, CVE-2018-1022, CVE-2018-8114, CVE-2018-8122, CVE-2018-8128, CVE-2018-8137.

Weakness: CWE-125

Which versions are affected by CVE-2018-8139?

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

PackageAffectedFixed in
Microsoft.ChakraCore NuGetAll versions1.8.4
Microsoft.ChakraCore NuGetAll versions1.8.4

Products include Microsoft Chakracore, Microsoft Edge.

How do I fix CVE-2018-8139?

Upgrade Microsoft.ChakraCore to 1.8.4 or later.

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

Is CVE-2018-8139 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-8139 exists.

Public exploit code: 2 Exploit-DB entries.

All Microsoft Chakracore vulnerabilities

Sources

Also known as GHSA-5hxp-3237-j2hp.

Is CVE-2018-8139 in your software?

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

Check your SBOMs for free