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.
Published: 2020-03-15
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

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

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

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