{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-15608","published":"2020-03-15T18:15:11.177000Z","last_modified":"2026-06-17T02:20:44.333000Z","status":"Modified","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-840","CWE-367"],"cpes":[{"criteria":"cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*","part":"a","vendor":"yarnpkg","product":"yarn","version_end_excluding":"1.19.0"}],"cpes_truncated":false,"vendors":["yarnpkg"],"products":["yarnpkg/yarn"],"epss":{"score":0.01836,"percentile":0.79503,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hjxc-462x-x77j","ecosystem":"npm","name":"yarn","purl":"pkg:npm/yarn","ranges":[{"introduced":"0","fixed":"1.19.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2019-15608/","html_en":"/en/cve/CVE-2019-15608/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-15608","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-15608"},"untrusted":{"vendor_name":"Yarnpkg","product_name":"Yarn","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190","tags":[]},{"url":"https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c","tags":[]},{"url":"https://hackerone.com/reports/703138","tags":["Exploit","Mitigation","Third Party Advisory"]}]}}