Skip to main content

CVE-2018-8391 — Vulnerability in Microsoft.ChakraCore — CVE Details

HIGH

ChakraCore RCE Vulnerability

Published May 13, 2022Updated February 16, 2024Source: OSV

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 12.01% in 30 days. Address in your next planned sprint.

Does your project use an affected Microsoft.ChakraCore version?

Paste your packages.lock.json to check it for CVE-2018-8391 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

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-8354, CVE-2018-8456, CVE-2018-8457, CVE-2018-8459.

Advisory Timeline

  • First published May 13, 2022 (1658 days ago).
  • Last revised February 16, 2024 — 644 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.ChakraCore to 1.11.1 or later
dotnet add package Microsoft.ChakraCore --version 1.11.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Microsoft.ChakraCore NuGet · Affected: 1.10.0, 1.10.1, 1.10.2, 1.11.0 (+33 more)1.11.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2018-8391?
ChakraCore RCE Vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2018-8391?
CVE-2018-8391 affects Microsoft.ChakraCore. It has a 12.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-8391 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
12.01%
EPSS percentile: 96.8

This places it in the top 5% of EPSS-scored vulnerabilities — 96.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-788w-269g-j92q

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json