A vulnerability was found in yarnpkg Yarn up to 1.22.22....
Moderate severity
Unreviewed
Published
Jul 28, 2025
to the GitHub Advisory Database
•
Updated Jul 28, 2025
Description
Published by the National Vulnerability Database
Jul 28, 2025
Published to the GitHub Advisory Database
Jul 28, 2025
Last updated
Jul 28, 2025
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