CVE-2019-10773: Yarn - Arbitrary Symlink Creation
- Cve: CVE-2019-10773
- Name: Yarn - Arbitrary Symlink Creation
- 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.
- Impact: Attackers can create or overwrite arbitrary symlinks, potentially leading to file system manipulation or privilege escalation.
- Remediation: Update Yarn to version 1.21.1 or later.
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01512
- Epss percentile: 0.75136
- Assignee: [email protected]
- Published at: 2019-12-16T20:15:14Z
- Age in days: 2535
- Modified at: 2026-06-17T02:11:38Z
- Patch available: yes
- Public exploits total: 2
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-10773
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ | nvd | 2019-12-16 |
| https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023 | nvd | 2019-12-16 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| yarnpkg:yarn | < 1.21.1 | no | nvd | /v1/products/yarnpkg/yarn |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| yarnpkg/yarn | commit, fix, issues, pull | yes | /v1/repositories/yarnpkg/yarn |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2019-12-16
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts