{"id":"CVE-2019-10773","published":"2019-12-16T19:31:34Z","modified":"2024-08-04T22:32:01Z","title":"In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01512,"percentile":0.75099,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-YARN-537806%2C","tags":["x_refsource_MISC"]},{"url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7","tags":["x_refsource_MISC"]},{"url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023","tags":["x_refsource_CONFIRM"]},{"url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0475","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":15.02}]},"affectedVersions":[{"vendor":"n/a","product":"Yarn","versions":["All versions prior to version 1.21.1"]}],"affected":[{"ecosystem":"npm","package":"yarn","vulnerableRanges":["<1.22.0"],"patched":["1.22.0"],"from":["GHSA-5xf4-f2fq-f69j"],"provenance":"source"}],"summary":{"text":"Yarn versions before 1.21.1 contain a flaw in the package install functionality, where specially crafted \"bin\" keys can be abused to create arbitrary symlinks on the host filesystem. An attacker who can supply a malicious package for installation can overwrite existing files, depending on the permissions of the current user.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:45Z"},"euvd":{"id":"EUVD-2020-0291","exploited":false,"provenance":"source"}}