{"id":"CVE-2020-8131","published":"2020-02-24T14:41:23Z","modified":"2024-08-04T09:48:25Z","title":"Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem…","vendor":null,"product":null,"tier":"tail","description":{"text":"Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05159,"percentile":0.92627,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://hackerone.com/reports/730239","tags":["x_refsource_MISC"]},{"url":"https://github.com/yarnpkg/yarn/pull/7831","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":18.53}]},"affectedVersions":[{"vendor":"n/a","product":"yarn","versions":["Fixed Version: 1.22.0"]}],"affected":[{"ecosystem":"npm","package":"yarn","vulnerableRanges":["<1.22.0"],"patched":["1.22.0"],"from":["GHSA-8mfc-v7wv-p62g"],"provenance":"source"}],"summary":{"text":"Yarn versions before 1.22.0 contain an arbitrary filesystem write flaw, which is a path traversal weakness (CWE-22) affecting the package manager's handling of file paths. An attacker who can get a user to install a malicious package can write to any path on the filesystem, potentially achieving arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:09:51Z"},"euvd":{"id":"EUVD-2022-0922","exploited":false,"provenance":"source"}}