CVE-2025-8262
yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
Summary
yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-8262 node-yarnpkg
- Ubuntu UBUNTU-CVE-2025-8262 node-yarnpkg
References
- advisory github.com
- advisory nvd.nist.gov
- advisory vuldb.com
- advisory vuldb.com
- patch github.com
- report github.com
- report vuldb.com