The package integrity validation in yarn < 1.19.0 contains a TOCTOU vulnerability where the hash is computed…
Historical advisory recorded 24 Oct 2026 15:17:33 UTC. Read the latest advisory.
nvd · CVE-2019-15608
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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2019-15608
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-840 · CWE-367
Original publisher date fields
published: 2020-03-15T18:15:11.177
lastModified: 2026-06-17T02:20:44.333
1 source CPE criteria · context only
- cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON