CVE-2019-15608 TOCTOU Race Condition in Yarn
MediumCVSS 5.9
EPSS 1.8%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm yarn(npm) | < 1.19.0 | 1.19.0 |
| debian/node-yarnpkg(Debian:12) | < 1.19.1-1 | 1.19.1-1 |
| debian/node-yarnpkg(Debian:13) | < 1.19.1-1 | 1.19.1-1 |
| debian/node-yarnpkg(Debian:14) | < 1.19.1-1 | 1.19.1-1 |
| yarnpkg yarn | < 1.19.0 | 1.19.0 |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | < 1.19.1-1 | 1.19.1-1 |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | = 1.13.0-1build1 | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:20.04) | = 1.13.0-3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- hackerone.com exploit issue-tracking mitigation third-party-advisory
- github.com
- github.com
- Debian Security Tracker CVE-2019-15608 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking