Skip to main content

CVE-2020-1057 — Remote code execution in Microsoft.ChakraCore

HIGH

Remote code execution in ChakraCore

Published August 2, 2021Updated November 8, 2023Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (2.24%). Schedule for your next planned update.

Does your project use an affected Microsoft.ChakraCore version?

Paste your packages.lock.json to check it for CVE-2020-1057 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 CVE ID is unique from CVE-2020-1172, CVE-2020-1180.

Advisory Timeline

  • First published August 2, 2021 (1942 days ago).
  • Last revised November 8, 2023 — 827 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

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

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 (+54 more)1.11.22

Vulnerability Classification

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

  • CWE-119
    Buffer OverflowMITRE
  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

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

Severity & Exploitability

CVSS Score
8.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
2.24%
EPSS percentile: 83.5

This places it in the top quartile of EPSS-scored vulnerabilities — 83.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-9f8c-f7h4-xghf

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json