CVE-2020-8131
yarn
HIGH 7.5
At a glance
- Source
- NVD
- EPSS
- EPSS 5.16 % · percentile 92 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-22 — Path Traversal
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-8mfc-v7wv-p62g — Path Traversal in Yarn
European references
- ENISA EUVD · EUVD-2022-0922
- GCVE · GCVE-0-2020-8131
Affected configurations (NVD CPE)
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*≤ 1.21.1
Affected products
| Product | Versions |
|---|---|
| yarn | affected Fixed Version: 1.22.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |