CVE-2025-8262
MEDIUM EPSS 48.5%
Published Jul 28, 202511mo ago · Modified Jun 17, 20261w ago
5.3 CVSS 4.0
Published Jul 28, 2025 11mo ago
Last Modified Jun 17, 2026 1w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
48.5% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 2
CWE-1333
CWE-400 Uncontrolled Resource Consumption Resource Mgmt
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| yarnpkg | yarn | * | ≤1.22.22 |
References 5
- github.com https://github.com/yarnpkg/yarn/pull/9199
- github.com https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076
- vuldb.com https://vuldb.com/?ctiid.317850
- vuldb.com https://vuldb.com/?id.317850
- vuldb.com https://vuldb.com/?submit.617393
Remediation
- github.com https://github.com/yarnpkg/yarn/pull/9199/commits/97731871e674bf93bcbf29e9d3258da8685f3076