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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.018 (78.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: +0.000
Affected products
- Yarnpkg Yarn
- Yarn — versions Fixed in 1.19.0
Weakness classification (CWE)
References
- hackerone.com/reports/703138 (Exploit, Third Party Advisory, Mitigation)
- github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c
- github.com/yarnpkg/yarn/blob/master/CHANGELOG.md
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.