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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-1051 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.
Github GHSA Github GHSA GHSA-hjxc-462x-x77j TOCTOU Race Condition in Yarn
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2024-08-05T00:49:13.783Z

Reserved: 2019-08-26T00:00:00

Link: CVE-2019-15608

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-03-15T18:15:11.177

Modified: 2024-11-21T04:29:07.340

Link: CVE-2019-15608

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-02-26T00:00:00Z

Links: CVE-2019-15608 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses