Description
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.
References (5)
Core 5
Core References
Third Party Advisory, VDB Entry vdb-entry
technical-description
https://vuldb.com/?id.317850
Permissions Required, VDB Entry signature
permissions-required
https://vuldb.com/?ctiid.317850
Third Party Advisory, VDB Entry third-party-advisory
https://vuldb.com/?submit.617393
Exploit issue-tracking
https://github.com/yarnpkg/yarn/pull/9199
Patch issue-tracking
patch
https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076
Scores
CVSS v3
4.3
EPSS
0.0067
EPSS Percentile
47.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1333
CWE-400
Status
published
Products (1)
yarnpkg/yarn
< 1.22.22
Published
Jul 28, 2025
Tracked Since
Feb 18, 2026