CVE-2019-15608
CVE-2019-15608 is a medium-severity vulnerability in Yarnpkg Yarn with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-367.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v2: 4.3
- EPSS exploit prediction: 2% (76th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-367
- Affected product: Yarnpkg Yarn
- Published:
- Last modified:
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.
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 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2019-15608 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (76th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2019-15608?
- CVE-2019-15608 affects Yarnpkg Yarn. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2019-15608?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2019-15608 published?
- CVE-2019-15608 was published on 2020-03-15 and last updated on 2026-06-17.
References
- https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md#1190
- https://github.com/yarnpkg/yarn/commit/0474b8c66a8ea298f5e4dedc67b2de464297ad1c
- https://hackerone.com/reports/703138
Affected products (1)
- cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*
More vulnerabilities in Yarnpkg Yarn
- CVE-2019-5448 — High (CVSS 8.1): Yarn before 1.17.3 is vulnerable to Missing Encryption of Sensitive Data due to HTTP URLs in lockfile causing…
- CVE-2019-10773 — High (CVSS 7.8): In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host…
- CVE-2021-4435 — High (CVSS 7.7): An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with…
- CVE-2020-8131 — High (CVSS 7.5): Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem…
- CVE-2025-8262 — Medium (CVSS 4.3): A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the…
- CVE-2025-9308 — Low (CVSS 3.3): A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file…
All CVEs affecting Yarnpkg Yarn →
Other CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition) vulnerabilities
- CVE-2026-25641 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a…
- CVE-2025-64180 — Critical (CVSS 10.0): Manager-io/Manager is accounting software. In Manager Desktop and Server versions 25.11.1.3085 and below, a critical…
- CVE-2025-34027 — Critical (CVSS 10.0): The Versa Concerto SD-WAN orchestration platform is vulnerable to an authentication bypass in the Traefik reverse proxy…
- CVE-2026-25052 — Critical (CVSS 9.9): n8n is an open source workflow automation platform. Prior to versions 1.123.18 and 2.5.0, a vulnerability in the file…
- CVE-2025-13032 — Critical (CVSS 9.9): Double fetch in sandbox kernel driver in Avast/AVG Antivirus <25.3 on windows allows local attacker to escalate…
- CVE-2026-53838 — Critical (CVSS 9.8): OpenClaw before 2026.5.27 contains a state mutation vulnerability in node pairing reconnection that allows paired nodes…
Browse all CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition) vulnerabilities →