Vulnerability in Yarnpkg Yarn

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.

EPSS: 0.018 (75.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-15608?
CVE-2019-15608 is a medium-severity vulnerability in Yarnpkg Yarn, classified under CWE-840. CVSS score: 5.9/10. Published 2020-03-15.
How severe is CVE-2019-15608?
Medium severity. CVSS v3 base score is 5.9 out of 10.