Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2025-8262

yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

yarnpkg Yarn

  • 1.22.0affected
  • 1.22.1affected
  • 1.22.2affected
  • 1.22.3affected
  • 1.22.4affected
  • 1.22.5affected
  • 1.22.6affected
  • 1.22.7affected
  • 1.22.8affected
  • 1.22.9affected
  • 1.22.10affected
  • 1.22.11affected
  • 1.22.12affected
  • 1.22.13affected
  • 1.22.14affected
  • 1.22.15affected
  • 1.22.16affected
  • 1.22.17affected
  • 1.22.18affected
  • 1.22.19affected
  • 1.22.20affected
  • 1.22.21affected
  • 1.22.22affected

References