CVE-2019-10773Yarnpkg Yarn
High 7.8
Follow: this CVE · Yarnpkg · Yarnpkg Yarn We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Dec 16, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Yarn.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | yarn |
< 1.22.0 |
1.22.0 |
npm install yarn@1.22.0 |
Per OSV / GitHub Advisories (GHSA-5xf4-f2fq-f69j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yarnpkg | yarn | < 1.21.1 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- blog.daniel-ruf.de Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- snyk.io