CVE-2018-0946 ChakraCore RCE Vulnerability

High 7.5 Published Updated

Remote attackers can execute arbitrary code via memory corruption in the Microsoft Edge scripting engine.

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-0946?

CVE-2018-0946 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-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, CVE-2018-8139.

Weakness: CWE-787, CWE-416

Which versions are affected by CVE-2018-0946?

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-0946?

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-0946 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Microsoft Chakracore vulnerabilities

Sources

Also known as GHSA-wc67-4cg3-35wf.

Is CVE-2018-0946 in your software?

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

Check your SBOMs for free