CVE-2025-8262

Severity CVSS v4.0:
MEDIUM
Type:
CWE-400 Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
28/07/2025
Last modified:
31/07/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:* 1.22.22 (including)