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)
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.052, 92.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Yarnpkg Yarn
- Yarn — versions Fixed Version: 1.22.0
Weakness classification (CWE)
References
- hackerone.com/reports/730239 (Exploit, Third Party Advisory)
- github.com/yarnpkg/yarn/pull/7831 (Patch, Third Party Advisory)