CVE-2025-9308 Details
Description
A vulnerability has been found in yarnpkg Yarn up to 1.22.22. This impacts the function setOptions of the file src/util/request-manager.js. Such manipulation leads to inefficient regular expression complexity. Local access is required to approach this attack. This vulnerability only affects products that are no longer supported by the maintainer.
A denial-of-service vulnerability has been identified in Yarn package manager versions through 1.22.22. The issue arises in the 'setOptions' function within 'src/util/request-manager.js', where an inefficient regular expression can be exploited. This vulnerability requires local access to reproduce and only affects unsupported versions of Yarn.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/yarnpkg/yarn/pull/9203 | CISA-ADP | ExploitIssue Tracking |
| https://github.com/yarnpkg/yarn/pull/9203 | [email protected] | ExploitIssue Tracking |
| https://vuldb.com/?ctiid.320913 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.320913 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.633486 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yarnpkg yarn | <= 1.22.22 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 12, 2025 | Initial Analysis | [email protected] |
| Aug 21, 2025 | CVE Modified | CISA-ADP |
| Aug 21, 2025 | New CVE Received | [email protected] |