{"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. This issue is fixed in 1.19.0.","published":"2020-03-15T18:15:11.177Z","modified":"2026-10-20T10:50:44.659529383Z","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.01836,"percentile":0.79469,"asOf":"2026-11-20"},"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"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15608"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:50:44.659529383Z"}}