Vulnerability GHSA-hjxc-462x-x77j
Medium Risk
MEDIUM RISK
CVSS Score: 5.9
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
4 years ago
February 09, 2022 at 10:49 PM UTC
TOCTOU Race Condition in Yarn
0.1.0 - 1.18.0
0.1.0 - 1.18.0
Summary
TOCTOU Race Condition in Yarn
Details
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.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
High Risk
2 years ago
Yarn untrusted search path vulnerability
0.1.0 - 1.22.12 GHSA-mpwj-fcr6-x34c
0.1.0 - 1.22.12 GHSA-mpwj-fcr6-x34c
High Risk
4 years ago
Path Traversal in Yarn
0.1.0 - 1.21.1 GHSA-8mfc-v7wv-p62g
0.1.0 - 1.21.1 GHSA-8mfc-v7wv-p62g
High Risk
6 years ago
Yarn Improper link resolution before file access (Link Following)
0.1.0 - 1.21.1 GHSA-5xf4-f2fq-f69j
0.1.0 - 1.21.1 GHSA-5xf4-f2fq-f69j
High Risk
7 years ago
Missing Encryption of Sensitive Data in yarn
0.1.0 - 1.17.2 GHSA-wqfc-cr59-h64p
0.1.0 - 1.17.2 GHSA-wqfc-cr59-h64p
Impacted packages
Timeline
Published
4 years ago
February 09, 2022 at 10:49 PM UTC
Fixed (1.19.0)
7 years ago
September 28, 2019 at 04:21 PM UTC
Last Modified
2 months ago
September 10, 2026 at 03:49 AM UTC