CVE 5.3 MEDIUM

yarnpkg Yarn hosted-git-resolver.js explodeHostedGitFragment redos_CVE-2025-8262

5.3 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X

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.

Basic Information

ID CVE-2025-8262
Source VulDB
Published Jul 28, 2025 at 07:02
Modified Jul 28, 2025 at 17:16

Affected Product

Vendor yarnpkg
Product Yarn
Version 1.22.0
Affected Versions yarnpkg Yarn 1.22.0
yarnpkg Yarn 1.22.1
yarnpkg Yarn 1.22.2
yarnpkg Yarn 1.22.3
yarnpkg Yarn 1.22.4
yarnpkg Yarn 1.22.5
yarnpkg Yarn 1.22.6
yarnpkg Yarn 1.22.7
yarnpkg Yarn 1.22.8
yarnpkg Yarn 1.22.9
yarnpkg Yarn 1.22.10
yarnpkg Yarn 1.22.11
yarnpkg Yarn 1.22.12
yarnpkg Yarn 1.22.13
yarnpkg Yarn 1.22.14
yarnpkg Yarn 1.22.15
yarnpkg Yarn 1.22.16
yarnpkg Yarn 1.22.17
yarnpkg Yarn 1.22.18
yarnpkg Yarn 1.22.19
yarnpkg Yarn 1.22.20
yarnpkg Yarn 1.22.21
yarnpkg Yarn 1.22.22

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.