CVE-2019-15608

MEDIUMCVSS 5.9/10EPSS 1.78%

Last modified

CVE-2019-15608 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 1.78% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.9/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS Probability
1.78%

75.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
YarnpkgYarn< 1.19.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-15608?
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.
How severe is CVE-2019-15608?
CVE-2019-15608 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 1.78% probability of exploitation in the next 30 days.
How do I fix CVE-2019-15608?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-15608?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST