CVE-2019-15608
publishedyarn: TOCTOU vulnerability leads to cache pollution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | yarnFixed in 1.19.0 | Affected | Not stated | hackerone |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | yarn | Fixed in 1.19.0 (affected) | hackerone · cna |
Weaknesses
1- CWE-840 Business Logic Errors (CWE-840)
References
3Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d7c8ff5d7850fce42ea33c5325eacdacc1c0c38c9015c0f24e2308911b2f9637
- Ingested
- 23 Sep 2026, 07:46:07 UTC
- Source record
- Official CVE record