CVE-2019-15608
TOCTOU Race Condition in Yarn
5.9
MEDIUM
CVSS 3.1
EPSS 0.46%
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.
How to fix CVE-2019-15608
To remediate CVE-2019-15608, upgrade the affected package to a fixed version below.
- Debian/node-yarnpkg—upgrade to 1.19.1-1 or later
- —upgrade to 1.19.0 or later
Is CVE-2019-15608 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.19.1-1
- from 0, < 1.19.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |