CVE-2025-9308
published medium CVSS 4.0 · 4.8yarnpkg Yarn request-manager.js setOptions redos
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| yarnpkg | — | Yarn1.22.0 · 1.22.1 · 1.22.2 · 1.22.3 · 1.22.4 · 1.22.5 · 1.22.6 · 1.22.7 · 1.22.8 · 1.22.9 · 1.22.10 · 1.22.11 · 1.22.12 · 1.22.13 · 1.22.14 · 1.22.15 · 1.22.16 · 1.22.17 · 1.22.18 · 1.22.19 · 1.22.20 · 1.22.21 · 1.22.22 | Affected | Not stated | VulDB |
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.
Es wurde eine Schwachstelle in yarnpkg Yarn bis 1.22.22 entdeckt. Betroffen hiervon ist die Funktion setOptions der Datei src/util/request-manager.js. Mittels dem Manipulieren mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff muss auf lokaler Ebene erfolgen.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R | — |
| 3.0 | 3.3 | low | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:X/RC:R | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| yarnpkg | Yarn | 1.22.0 (affected)1.22.1 (affected)1.22.2 (affected)1.22.3 (affected)1.22.4 (affected)1.22.5 (affected)1.22.6 (affected)1.22.7 (affected)1.22.8 (affected)1.22.9 (affected)1.22.10 (affected)1.22.11 (affected)1.22.12 (affected)1.22.13 (affected)1.22.14 (affected)1.22.15 (affected)1.22.16 (affected)1.22.17 (affected)1.22.18 (affected)1.22.19 (affected)1.22.20 (affected)1.22.21 (affected)1.22.22 (affected) | VulDB · cna |
Weaknesses
2- CWE-1333 Inefficient Regular Expression Complexity
- CWE-400 Resource Consumption
References
4- https://github.com/yarnpkg/yarn/pull/9203
- VDB-320913 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/?ctiid.320913
- VDB-320913 | yarnpkg Yarn request-manager.js setOptions redos https://vuldb.com/?id.320913
- Submit #633486 | yarn Yarn src/util/request-manager.js v1.22.22 Inefficient Regular Expression Complexity https://vuldb.com/?submit.633486
Provider assertions
2VulDB · cna
yarnpkg Yarn request-manager.js setOptions redos
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ea9377000463fe5d0a3d689b3740681860e9732f777482600c83e1af79b15b48
- Ingested
- 23 Sep 2026, 08:59:28 UTC
- Source record
- Official CVE record