CVE-2019-15608
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | yarn | Fixed in 1.19.0 | affected |
Weaknesses
- CWE-840: Business Logic Errors (CWE-840)
ADP Enrichment
CVE Program Container
Additional References
- https://hackerone.com/reports/703138
- https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c
- https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190
References
- https://hackerone.com/reports/703138
- https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c
- https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.