Vulnerability in Yarnpkg Yarn
CVE-2019-10773
In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permission set.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (74.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Yarnpkg Yarn
- Yarn — versions All versions prior to version 1.21.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-YARN-537806,
- github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7 (Patch, Third Party Advisory)
- github.com/yarnpkg/yarn/issues/7761 (Exploit, Third Party Advisory)
- blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ (Exploit, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- access.redhat.com/errata/RHSA-2020:0475 (vendor-advisory)
Frequently asked questions
- What is CVE-2019-10773?
- CVE-2019-10773 is a high-severity vulnerability in Yarnpkg Yarn, classified under Improper Link Resolution Before File Access. CVSS score: 7.8/10. Published 2019-12-16.
- How severe is CVE-2019-10773?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2019-10773 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.