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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published: 2020-03-15T17:08:13

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