← Back

Yarn

yarn

Vendor: Yarnpkg • 7 CVEs

CVEs (7)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Yarnpkg
1Yarn
Sep 12, 2025
Aug 21, 2025
4.8 MEDIUM· v4
5.5 MEDIUM· v3
1.7 LOW· v2
A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local acce...Show more
A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.Show less
1Yarnpkg
1Yarn
Jul 31, 2025
Jul 28, 2025
5.3 MEDIUM· v4
7.5 HIGH· v3
4.0 MEDIUM· v2
A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation...Show more
A vulnerability was found in yarnpkg Yarn up to 1.22.22. It has been classified as problematic. Affected is the function explodeHostedGitFragment of the file src/resolvers/exotics/hosted-git-resolver.js. The manipulation leads to inefficient regular expression complexity. It is possible to launch the attack remotely. The patch is identified as 97731871e674bf93bcbf29e9d3258da8685f3076. It is recommended to apply a patch to fix this issue.Show less
1Yarnpkg
1Yarn
Nov 21, 2024
Feb 4, 2024
N/A· v4
7.8 HIGH· v3
N/A· v2
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.
1Yarnpkg
1Yarn
Nov 21, 2024
Mar 15, 2020
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
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 cach...Show more
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.Show less
1Yarnpkg
1Yarn
Nov 21, 2024
Feb 24, 2020
N/A· v4
7.5 HIGH· v3
5.1 MEDIUM· v2
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.
1Yarnpkg
1Yarn
Nov 21, 2024
Dec 16, 2019
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
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 cur...Show more
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 permission set.Show less
1Yarnpkg
1Yarn
Nov 21, 2024
Jul 30, 2019
N/A· v4
8.1 HIGH· v3
4.3 MEDIUM· v2
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.