Back
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…
High7.8EPSS 1.5%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
- Arbitrary File Write
- CWE-59 (opens in a new tab)All about CWE-59 and its CVEs
Affected products
Yarn
- affected All versions prior to version 1.21.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (7)
- https://snyk.io/vuln/SNYK-JS-YARN-537806%2C (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2020-766ce5adae (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-7525beefa1 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- RHSA-2020:0475 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5xf4-f2fq-f69j (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-10773)Record last updated .