CVE-2020-8131

HIGH EPSS 91.2%
Published Feb 24, 20206y ago · Modified Jun 17, 20262w ago
7.5 CVSS 3.1
High
Find Similar
Published Feb 24, 2020 6y ago
Last Modified Jun 17, 2026 2w ago

Description

Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.

CVSS Details

Base Score
7.5
Exploitability
1.6
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
91.2% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-22 Path Traversal Resource Mgmt

Affected Products 1

VendorProductVersionRange
yarnpkgyarn* ≤1.21.1

References 2

  • github.com https://github.com/yarnpkg/yarn/pull/7831
    PatchThird Party Advisory
  • hackerone.com https://hackerone.com/reports/730239
    ExploitThird Party Advisory

Remediation

  • github.com https://github.com/yarnpkg/yarn/pull/7831
    PatchThird Party Advisory