logo

CVE-2019-15608 yarn

Package

Manager: npm
Name: yarn
Vulnerable Version: >=0 <1.19.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00399 pctl0.59862

Details

TOCTOU Race Condition in Yarn 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. This issue is fixed in 1.19.0.

Metadata

Created: 2022-02-09T22:49:38Z
Modified: 2023-09-08T23:56:07Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-hjxc-462x-x77j/GHSA-hjxc-462x-x77j.json
CWE IDs: ["CWE-367"]
Alternative ID: GHSA-hjxc-462x-x77j
Finding: F124
Auto approve: 1