{"id":"CVE-2019-15608","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-15608","generatedAt":"2026-10-28T20:25:51.307Z","title":"The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache.","description":"The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed before writing a package to cache. It's not computed again when reading from the cache. This may lead to a cache pollution attack.","published":"2020-03-15T18:15:11.000Z","lastModified":"2026-06-17T02:20:44.000Z","status":"Modified","sourceIdentifier":"support@hackerone.com","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-840","CWE-367"],"affected":["yarnpkg/yarn"],"epss":{"score":0.01836,"percentile":0.78829,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (1.84%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","source":"support@hackerone.com"},{"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","source":"support@hackerone.com"},{"url":"https://hackerone.com/reports/703138","tags":["Exploit","Mitigation","Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://hackerone.com/reports/703138","tags":["Exploit","Mitigation","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-15608","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}