{"cve":"CVE-2019-15608","nvd":{"published":"2020-03-15T18:15:11.177","modified":"2026-06-17T02:20:44.333","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9},"cwes":["CWE-367","CWE-840"],"references":["https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","https://hackerone.com/reports/703138","https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c"],"products":["yarnpkg:yarn"],"source":"nvd","synced_at":"2026-10-19T21:03:08.679916934+00:00"},"epss":{"cve":"CVE-2019-15608","score":0.01836,"percentile":0.78946,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hjxc-462x-x77j","url":"https://osv.dev/vulnerability/GHSA-hjxc-462x-x77j","summary":"TOCTOU Race Condition in Yarn","modified":"2026-09-10T03:49:12.315444432Z","packages":[{"ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":["<1.19.0"],"fixed":["1.19.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}