{"id":"CVE-2019-15608","aliases":["GHSA-hjxc-462x-x77j"],"url":"https://o3.security/vulnerability/CVE-2019-15608","summary":"TOCTOU Race Condition in Yarn","details":"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.177Z","modified":"2026-07-08T17:16:43.806401Z","cvss":{"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"},"epss":{"score":0.01828,"percentile":0.7687,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"yarn","fixedVersion":"1.19.0"}],"fix":{"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","label":"yarnpkg/yarn@0474b8c"},"references":[{"type":"WEB","url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190"},{"type":"FIX","url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c"},{"type":"EVIDENCE","url":"https://hackerone.com/reports/703138"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T17:16:43.806401Z"}}