{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-10773","id":"CVE-2019-10773","title":"Yarn Improper link resolution before file access (Link Following)","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.","descriptionLong":"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":"2019-12-16T19:31:34.000Z","updated":"2026-10-20T10:50:38.350336341Z","reserved":"2019-04-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Yarn"],"affectedProducts":[{"vendor":"n/a","product":"Yarn","defaultStatus":null,"versions":[{"status":"affected","version":"All versions prior to version 1.21.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":["<1.22.0"],"fixed":["1.22.0"],"advisory":"GHSA-5xf4-f2fq-f69j"}],"cwes":["CWE-59","CWE-78"],"aliases":["GHSA-5xf4-f2fq-f69j","SNYK-JS-YARN-537806,"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-YARN-537806%2C","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"https://github.com/yarnpkg/yarn/commit/039bafd74b7b1a88a53a54f8fa6fa872615e90e7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/yarnpkg/yarn/issues/7761#issuecomment-565493023","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0475","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773","tags":["advisory"]},{"url":"https://github.com/yarnpkg/yarn/pull/7755","tags":["web"]},{"url":"https://blog.daniel-ruf.de/critical-design-flaw-npm-pnpm-yarn","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HIZW4NZVV5QY5WWGW2JRP3FHYKZ6ZJ5","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ITY5BC63CCC647DFNUQRQ5AJDKUKUNBI","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-YARN-537806,","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01512,"epssPercentile":0.74987,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-10773","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10773","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-10773","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5xf4-f2fq-f69j","ok":true,"note":"GHSA-5xf4-f2fq-f69j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-10773","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}