{"id":"CVE-2020-8131","state":"PUBLISHED","title":"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 t","description":"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.","publishedAt":"2020-02-24T14:41:23.000Z","updatedAt":"2024-08-04T09:48:25.635Z","severity":null,"assigner":"hackerone","products":["n/a yarn"],"affected":[{"vendor":"n/a","product":"yarn","versions":[{"version":"Fixed Version: 1.22.0","status":"affected"}]}],"references":["https://hackerone.com/reports/730239","https://github.com/yarnpkg/yarn/pull/7831"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:47:44.297Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/8xxx/CVE-2020-8131.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-8131","state":"PUBLISHED","datePublished":"2020-02-24T14:41:23.000Z","dateUpdated":"2024-08-04T09:48:25.635Z","assignerShortName":"hackerone","assignerOrgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1","dateReserved":"2020-01-28T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"yarn","versions":[{"version":"Fixed Version: 1.22.0","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/730239","tags":["x_refsource_MISC"]},{"url":"https://github.com/yarnpkg/yarn/pull/7831","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"Path Traversal (CWE-22)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"hackerone","dateUpdated":"2020-02-28T19:29:35.000Z","orgId":"36234546-b8fa-4601-9d6f-f4e334aa8ea1"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"support@hackerone.com","ID":"CVE-2020-8131","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"yarn","version":{"version_data":[{"version_value":"Fixed Version: 1.22.0"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Path Traversal (CWE-22)"}]}]},"references":{"reference_data":[{"name":"https://hackerone.com/reports/730239","refsource":"MISC","url":"https://hackerone.com/reports/730239"},{"name":"https://github.com/yarnpkg/yarn/pull/7831","refsource":"CONFIRM","url":"https://github.com/yarnpkg/yarn/pull/7831"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/730239","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/yarnpkg/yarn/pull/7831","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:48:25.635Z"}}]}}}