yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-8262
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- mmmsssttt (VulDB User)
References
Affected Vendor
yarnpkg
View all reports →