CVE-2019-10773
HIGH 7.8CVSS 3.1Yarn Improper link resolution before file access (Link Following)
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
- 16 Dec 2019
- Last modified
- 2 Dec 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-59CWE-78
- Also known as
- GHSA-5xf4-f2fq-f69j
- Sources
- NVDJSONOSV GHSA-5xf4-f2fq-f69jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yarnpkg | yarncpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:* |
< 1.21.1 | 1.21.1 |
| OSV | npm | yarn | < 1.22.0 | 1.22.0 |
References
- https://access.redhat.com/errata/RHSA-2020:0475 · WEB
- https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/ · Exploit, Third Party Advisory, WEB
- https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7 · Patch, Third Party Advisory, WEB
- https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023 · Exploit, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/
- https://snyk.io/vuln/SNYK-JS-YARN-537806%2C
- https://nvd.nist.gov/vuln/detail/CVE-2019-10773 · ADVISORY
- https://github.com/yarnpkg/yarn/pull/7755 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI · WEB
- https://snyk.io/vuln/SNYK-JS-YARN-537806, · WEB
History
- 2 Dec 2026 07:23 UTC · OSV: updated (other details)
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 16 Dec 2019)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Feb 2020)