{"id":"CVE-2019-10773","aliases":["DEBIAN-CVE-2019-10773","GHSA-5xf4-f2fq-f69j","SNYK-JS-YARN-537806,","UBUNTU-CVE-2019-10773"],"summary":"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.","published_at":"2019-12-16T00:00:00Z","modified_at":"2026-09-21T07:00:36.29854Z","products":[],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.015119999647140503,"percentile":0.7502099871635437,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"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.","affected_stack":[],"affected_other":[{"ecosystem":"Debian:12","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"},{"ecosystem":"Debian:13","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"},{"ecosystem":"Debian:14","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"},{"ecosystem":"NVD","package":"yarnpkg:yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1"}]}],"fixed":["1.21.1"],"provider":"nvd","source":"CVE-2019-10773","relation":"self"},{"ecosystem":"TuxCare:npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.15.2-tuxcare.0"},{"fixed":"1.15.2-tuxcare.1"}]}],"versions":["1.15.2"],"fixed":["1.15.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786378841","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.21.0-tuxcare.0"},{"fixed":"1.21.0-tuxcare.1"}]}],"versions":["1.21.0"],"fixed":["1.21.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786471987","relation":"upstream"},{"ecosystem":"Ubuntu:20.04:LTS","package":"node-yarnpkg","purl":"pkg:deb/ubuntu/node-yarnpkg@1.22.4-2?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0-1build1","1.13.0-3","1.19.1-1","1.22.4-2"],"provider":"osv","source":"UBUNTU-CVE-2019-10773","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-yarnpkg","purl":"pkg:deb/ubuntu/node-yarnpkg@1.22.10+~cs22.25.14-8?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.10+~cs22.25.14-3","1.22.10+~cs22.25.14-4","1.22.10+~cs22.25.14-5","1.22.10+~cs22.25.14-8"],"provider":"osv","source":"UBUNTU-CVE-2019-10773","relation":"self"},{"ecosystem":"npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.0"}]}],"fixed":["1.22.0"],"provider":"osv","source":"GHSA-5xf4-f2fq-f69j","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el7","status":"fixed","packages":["quay3/clair-jwt"],"package_count":1,"fixed":[],"advisories":["RHSA-2020:0475"],"provider":"redhat-vex","source":"CVE-2019-10773"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1786378841","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1786378841","published_at":"2026-08-10T16:20:41Z","modified_at":"2026-10-15T09:46:00.652464Z","summary":"TuxCare security update for yarn (5 CVEs)","details":"TuxCare rebuilt yarn to address 5 CVEs. Fixed in 1.15.2-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.15.2-tuxcare.0"},{"fixed":"1.15.2-tuxcare.1"}]}],"versions":["1.15.2"],"fixed":["1.15.2-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786378841","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1786471987","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1786471987","published_at":"2026-08-11T18:13:07Z","modified_at":"2026-10-15T09:45:59.896663Z","summary":"TuxCare security update for yarn (3 CVEs)","details":"TuxCare rebuilt yarn to address 3 CVEs. Fixed in 1.21.0-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.21.0-tuxcare.0"},{"fixed":"1.21.0-tuxcare.1"}]}],"versions":["1.21.0"],"fixed":["1.21.0-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1786471987","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2019-10773","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773","license":"CC-BY-4.0","published_at":"2019-12-16T19:31:34Z","modified_at":"2024-08-04T22:32:01.551Z","summary":"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.","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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806%2C"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023"},{"type":"WEB","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0475"}]},{"provider":"nvd","source_id":"CVE-2019-10773","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773","severity":[],"affected":[{"ecosystem":"NVD","package":"yarnpkg:yarn","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1"}]}],"fixed":["1.21.1"],"provider":"nvd","source":"CVE-2019-10773","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2019-10773","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2019-10773","published_at":"2019-12-16T20:15:14.477Z","modified_at":"2026-09-21T07:00:36.29854Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2019-10773"}],"affected":[{"ecosystem":"Debian:12","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"},{"ecosystem":"Debian:13","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"},{"ecosystem":"Debian:14","package":"node-yarnpkg","purl":"pkg:deb/debian/node-yarnpkg?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1"}]}],"fixed":["1.21.1-1"],"provider":"osv","source":"DEBIAN-CVE-2019-10773","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-10773"}]},{"provider":"osv","source_id":"GHSA-5xf4-f2fq-f69j","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5xf4-f2fq-f69j","license":"CC-BY-4.0","published_at":"2020-02-14T23:10:16Z","modified_at":"2026-09-10T03:49:25.201779Z","summary":"Yarn Improper link resolution before file access (Link Following)","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GHSA-5xf4-f2fq-f69j"}],"affected":[{"ecosystem":"npm","package":"yarn","purl":"pkg:npm/yarn","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.0"}]}],"fixed":["1.22.0"],"provider":"osv","source":"GHSA-5xf4-f2fq-f69j","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/pull/7755"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0475"},{"type":"WEB","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806,"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2019-10773","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2019-10773","license":"CC-BY-SA-4.0","published_at":"2019-12-16T20:15:00Z","modified_at":"2025-10-24T04:47:36Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2019-10773"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2019-10773"}],"affected":[{"ecosystem":"Ubuntu:20.04:LTS","package":"node-yarnpkg","purl":"pkg:deb/ubuntu/node-yarnpkg@1.22.4-2?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.0-1build1","1.13.0-3","1.19.1-1","1.22.4-2"],"provider":"osv","source":"UBUNTU-CVE-2019-10773","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-yarnpkg","purl":"pkg:deb/ubuntu/node-yarnpkg@1.22.10+~cs22.25.14-8?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.10+~cs22.25.14-3","1.22.10+~cs22.25.14-4","1.22.10+~cs22.25.14-5","1.22.10+~cs22.25.14-8"],"provider":"osv","source":"UBUNTU-CVE-2019-10773","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-10773"},{"type":"REPORT","url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023"},{"type":"REPORT","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/"},{"type":"REPORT","url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806,"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773"}]},{"provider":"redhat-vex","source_id":"CVE-2019-10773","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2019-10773","license":"CC-BY-4.0","published_at":"2019-12-16T00:00:00Z","modified_at":"2020-12-15T15:57:56Z","summary":"nodejs-yarn: Install functionality can be abused to generate arbitrary symlinks","details":"A flaw was found in Yarn in versions prior to 1.21.1. Arbitrary symlinks can be generated using the package install functionality leading to existing files being overwritten. The highest threat from this vulnerability is to system confidentiality and integrity as well as system availability.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2019-10773"},{"type":"Red Hat","score":"Important","source":"CVE-2019-10773"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Quay v3","cpe":"cpe:/a:redhat:quay:3::el7","status":"fixed","packages":["quay3/clair-jwt"],"package_count":1,"fixed":[],"advisories":["RHSA-2020:0475"],"provider":"redhat-vex","source":"CVE-2019-10773"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-10773.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2019-10773"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788328"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773"}]}],"references":[{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806%2C"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023"},{"type":"WEB","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2020:0475"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2019-10773"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773"},{"type":"WEB","url":"https://github.com/yarnpkg/yarn/pull/7755"},{"type":"WEB","url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806,"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-10773"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-YARN-537806"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-10773.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2019-10773"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1788328"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1786378841","url":"https://osv.dev/vulnerability/CLSA-2026-1786378841","modified_at":"2026-10-15T09:46:00.652464Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1786471987","url":"https://osv.dev/vulnerability/CLSA-2026-1786471987","modified_at":"2026-10-15T09:45:59.896663Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2019-10773","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773","license":"CC-BY-4.0","modified_at":"2024-08-04T22:32:01.551Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2019-10773","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2019-10773","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2019-10773","modified_at":"2026-09-21T07:00:36.29854Z","relation":"self"},{"provider":"osv","source_id":"GHSA-5xf4-f2fq-f69j","url":"https://osv.dev/vulnerability/GHSA-5xf4-f2fq-f69j","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:25.201779Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2019-10773","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2019-10773","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:47:36Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2019-10773","url":"https://access.redhat.com/security/cve/CVE-2019-10773","license":"CC-BY-4.0","modified_at":"2020-12-15T15:57:56Z","relation":"self"}]}
