Path Traversal in Yarnpkg Yarn

CVE-2020-8131

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.052 (91.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-8131?
CVE-2020-8131 is a high-severity vulnerability in Yarnpkg Yarn, classified under Path Traversal. CVSS score: 7.5/10. Published 2020-02-24.
How severe is CVE-2020-8131?
High severity. CVSS v3 base score is 7.5 out of 10.