Vulnerability record · CVE-2019-15608 · published 15 March 2020
CVE-2019-15608: Yarnpkg yarn toctou race condition vulnerability
Yarnpkg · Yarn
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.
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:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190 | |
| https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c | |
| https://hackerone.com/reports/703138 | ExploitMitigationThird Party Advisory |
| https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190 | |
| https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c | |
| https://hackerone.com/reports/703138 | ExploitMitigationThird Party Advisory |
Track CVE-2019-15608 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-15608), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.