CVE-2019-15608
Medium
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.
SeverityMedium
CVSS5.9
Exploit probability—
ProductYarn
PublishedMar 15, 2020
First seenMar 15, 2020
Weakness typeCWE-840CWE-840
How to fix
Update
- yarnpkg yarn1.19.0 or later
- yarn1.19.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yarnpkg yarn | v < 1.19.0 | 1.19.0 |
| yarnnpm | v < 1.19.0 | 1.19.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.