yarn
npm5 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting yarnpage 1 of 1
- CVE-2019-10773HIGHCVSS 7.8EG 7.8✓ Fixed in 1.22.02019-12-16
In Yarn before 1.21.1, the package install functionality can be abused to generate arbitrary symlinks on the host filesystem by using specially crafted "bin" keys. Existing files could be overwritten depending on the current user permissio…
- CVE-2019-15608MEDIUMCVSS 5.9EG 5.9✓ Fixed in 1.19.02020-03-15
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.
- CVE-2019-5448HIGHCVSS 8.1EG 8.1✓ Fixed in 1.17.32019-07-30
Yarn before 1.17.3 is vulnerable to Missing Encryption of Sensitive Data due to HTTP URLs in lockfile causing unencrypted authentication data to be sent over the network.
- CVE-2020-8131HIGHCVSS 7.5EG 7.5✓ Fixed in 1.22.02020-02-24
Arbitrary filesystem write vulnerability in Yarn before 1.22.0 allows attackers to write to any path on the filesystem and potentially lead to arbitrary code execution by forcing the user to install a malicious package.
- CVE-2021-4435HIGHCVSS 7.7EG 7.7✓ Fixed in 1.22.132024-02-04
An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.
Check whether yarn is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for yarn CVEs against the assets you own.
Start Free Scan →