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.
Historical advisory saved 17 Nov 2026 22:35:31 UTC. The publisher may have updated it since then. Latest advisory.
euvd · EUVD-2022-1051
PublishedThe 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 15, 2020, 5:08:13 PM
dateUpdated: Aug 5, 2024, 12:49:13 AM
- Source published
- Mar 15, 2020, 5:08:13 PM (timezone not stated)
- Source modified
- Aug 5, 2024, 12:49:13 AM (timezone not stated)
- Saved here
- 17 Nov 2026 22:35:31 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.