{"id":"CVE-2019-10773","details":"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.","aliases":["GHSA-5xf4-f2fq-f69j"],"modified":"2026-04-09T06:28:39.142666Z","published":"2019-12-16T20:15:14.477Z","related":["SNYK-JS-YARN-537806,"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806%2C"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0475"},{"type":"FIX","url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7"},{"type":"EVIDENCE","url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023"},{"type":"EVIDENCE","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yarnpkg/yarn","events":[{"introduced":"0"},{"fixed":"95186d5f61ea34de7be6c59b7cfb934cc3b31988"},{"fixed":"039bafd74b7b1a88a53a54f8fa6fa872615e90e7"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.21.1"}]}}],"versions":["pre-release","v0.10.0","v0.11.0","v0.12.0","v0.13.0","v0.14.0","v0.15.0","v0.15.1","v0.17.0","v0.17.0-0","v0.18.0","v0.18.0-0","v0.19.0","v0.19.0-0","v0.20.0","v0.20.0-0","v0.21.0","v0.21.0-pre","v0.22.0","v0.23.0","v0.25.0","v0.26.0","v0.27.0","v0.28.0","v0.7.0","v0.7.1","v0.8.0","v0.9.0","v1.0.0","v1.0.1","v1.0.2","v1.1.0","v1.10.0","v1.11.0","v1.12.0","v1.13.0","v1.14.0","v1.15.0","v1.16.0","v1.17.0","v1.18.0","v1.19.0","v1.2.0","v1.2.1","v1.21.0","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.4.1","v1.5.0","v1.6.0","v1.7.0","v1.8.0","v1.9.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-10773.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}