CVE-2025-9308
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| yarnpkg | Yarn | 1.22.0 | affected |
| yarnpkg | Yarn | 1.22.1 | affected |
| yarnpkg | Yarn | 1.22.2 | affected |
| yarnpkg | Yarn | 1.22.3 | affected |
| yarnpkg | Yarn | 1.22.4 | affected |
| yarnpkg | Yarn | 1.22.5 | affected |
| yarnpkg | Yarn | 1.22.6 | affected |
| yarnpkg | Yarn | 1.22.7 | affected |
| yarnpkg | Yarn | 1.22.8 | affected |
| yarnpkg | Yarn | 1.22.9 | affected |
| yarnpkg | Yarn | 1.22.10 | affected |
| yarnpkg | Yarn | 1.22.11 | affected |
| yarnpkg | Yarn | 1.22.12 | affected |
| yarnpkg | Yarn | 1.22.13 | affected |
| yarnpkg | Yarn | 1.22.14 | affected |
| yarnpkg | Yarn | 1.22.15 | affected |
| yarnpkg | Yarn | 1.22.16 | affected |
| yarnpkg | Yarn | 1.22.17 | affected |
| yarnpkg | Yarn | 1.22.18 | affected |
| yarnpkg | Yarn | 1.22.19 | affected |
| yarnpkg | Yarn | 1.22.20 | affected |
| yarnpkg | Yarn | 1.22.21 | affected |
| yarnpkg | Yarn | 1.22.22 | affected |
Weaknesses
- CWE-1333: Inefficient Regular Expression Complexity
- CWE-400: Resource Consumption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
Additional References
References
- https://vuldb.com/?id.320913
- https://vuldb.com/?ctiid.320913
- https://vuldb.com/?submit.633486
- https://github.com/yarnpkg/yarn/pull/9203
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.