CVE-2018-8298: ChakraCore RCE Vulnerability

CVE-2018-8298 · Severity: critical · CVSS 3 · Exploited in the wild · Published 2022-05-13

A type confusion vulnerability exists in the ChakraCore scripting engine due to the way it handles objects in memory. An attacker could exploit this to execute arbitrary code remotely, typically requiring user interaction such as visiting a malicious website.

Technologies: Microsoft.ChakraCore (NuGet). Vendors: NuGet.

Quick answers

Is CVE-2018-8298 exploited in the wild?
Yes. CVE-2018-8298 is known to be exploited in the wild, first recorded on 3 March 2022. Treat it as urgent.
How severe is CVE-2018-8298?
Critical severity, with a CVSS score of 3, published 13 May 2022.
Which products and versions are affected?
Microsoft.ChakraCore (NuGet) ECOSYSTEM:introduced=0,fixed=1.10.1.
Is there a fix for CVE-2018-8298?
Yes. Microsoft.ChakraCore (NuGet): upgrade to 1.10.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2018-8298 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2018-8298?
Check whether you run ChakraCore, Chakracore Scripting Engine or Microsoft.ChakraCore (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Microsoft.ChakraCore (NuGet): upgrade to 1.10.1 or later
    dotnet add package Microsoft.ChakraCore --version 1.10.1

Affected products

  • Microsoft ChakraCore up to (excluding) 1.10.1

Identifiers

  • CVE-2018-8298
  • GHSA-wgw2-wwq8-c7wf

Timeline

  • 2018-07-10: disclosed: NVD Published Date
  • 2018-07-10: patched: Microsoft released security guidance and patches.
  • 2022-03-03: kev added: Added to CISA Known Exploited Vulnerabilities Catalog.
  • 2022-03-03: exploited: Confirmed as exploited in the wild per CISA KEV.

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.