Unrated severityNVD Advisory· Published Jul 28, 2025· Updated Jul 28, 2025
yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
CVE-2025-8262
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.
Affected products
2- yarnpkg/Yarnv5Range: 1.22.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076mitreissue-trackingpatch
- vuldb.commitrethird-party-advisory
- github.com/yarnpkg/yarn/pull/9199mitreissue-tracking
- vuldb.commitresignaturepermissions-required
- vuldb.commitrevdb-entrytechnical-description
News mentions
0No linked articles in our index yet.