{"id":"EUVD-2022-1051","enisaUuid":"5cf75261-7611-3271-8c04-16cb3ff68cc0","description":"The package integrity validation in yarn \u003c 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It\u0027s not computed again when reading from the cache. This may lead to a cache pollution attack.","datePublished":"Mar 15, 2020, 5:08:13 PM","dateUpdated":"Aug 5, 2024, 12:49:13 AM","baseScore":null,"references":"https://hackerone.com/reports/703138\nhttps://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c\nhttps://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190\n","aliases":"CVE-2019-15608\nGHSA-hjxc-462x-x77j\n","assigner":"hackerone","epss":1.84,"enisaIdProduct":[{"id":"f0016631-6cac-3939-9427-9c95424a81c6","product":{"name":"yarn","vendor":{"name":"yarnpkg"}},"product_version":"Fixed in 1.19.0"}],"enisaIdVendor":[{"id":"36827f41-1389-3ae1-a814-a113ca877a7b","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"83c89e39-f8a6-3228-9748-5dca69281904","vulnerability":{"id":"GHSA-hjxc-462x-x77j","description":"TOCTOU Race Condition in Yarn","datePublished":"Feb 9, 2022, 10:49:38 PM","dateUpdated":"Sep 8, 2023, 11:56:07 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2019-15608\nhttps://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c\nhttps://hackerone.com/reports/703138\nhttps://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190\n","enisa_id":"EUVD-2022-1051\n","aliases":"GHSA-hjxc-462x-x77j\nCVE-2019-15608\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:07:08 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"8b8de8eb-15d2-33b9-be92-a3cea4849743","vulnerability":{"id":"CVE-2019-15608","description":"The package integrity validation in yarn \u003c 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It\u0027s not computed again when reading from the cache. This may lead to a cache pollution attack.","datePublished":"Mar 15, 2020, 5:08:13 PM","dateUpdated":"Aug 5, 2024, 12:49:13 AM","status":"PUBLISHED","baseScore":null,"references":"https://hackerone.com/reports/703138\nhttps://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c\nhttps://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190\n","enisa_id":"EUVD-2022-1051\n","assigner":"hackerone","epss":1.84,"dataProcessed":"Nov 17, 2026, 7:18:37 AM","vulnerabilityProduct":[{"id":"79296545-0b5e-32bb-a513-f438dc5b4c31","product":{"name":"yarn","vendor":{"name":"yarnpkg"}},"product_version":"Fixed in 1.19.0"}],"vulnerabilityVendor":[{"id":"a8458026-ab9e-3494-8725-be5a999f1ef6","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}