CVE-2025-9308 yarnpkg Yarn request-manager.js setOptions redos
MediumCVSS 4.8
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-yarnpkg(Debian 12) | = 1.22.19+~cs24.27.18-2; = 1.22.19+~cs24.27.18-2+deb12u1; = 1.22.19+~cs24.27.18-3; = 1.22.19+~cs24.27.18-4 +15 more | No fix listed | No fix yet |
| ubuntu/node-yarnpkg(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-yarnpkg(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-yarnpkg(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-yarnpkg(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-yarnpkg(Debian 13) | < 4.0.2+dfsg-2 | 4.0.2+dfsg-2 | Fixed |
| debian/node-yarnpkg(Debian 14) | < 4.0.2+dfsg-2 | 4.0.2+dfsg-2 | Fixed |
| yarnpkg yarn | <= 1.22.22; = 1.22.0; = 1.22.1; = 1.22.2 +20 more | after 1.22.22 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-yarnpkg(Debian:12) | All versions | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 1.22.19+~cs24.27.18-2 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 1.22.19+~cs24.27.18-2+deb12u1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 1.22.19+~cs24.27.18-3 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 1.22.19+~cs24.27.18-4 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.0-rc.53+dfsg-1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.1+dfsg-1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.1+dfsg-2 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.2+dfsg-1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.2+dfsg-2 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.0.2+dfsg-3 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-1 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-3 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-4 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-5 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-6 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-7 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-8 | No fix listed |
| debian/node-yarnpkg(Debian:12) | = 4.1.0+dfsg-9 | No fix listed |
| debian/node-yarnpkg(Debian:13) | < 4.0.2+dfsg-2 | 4.0.2+dfsg-2 |
| debian/node-yarnpkg(Debian:14) | < 4.0.2+dfsg-2 | 4.0.2+dfsg-2 |
| yarnpkg yarn | = 1.22.0 | No fix listed |
| yarnpkg yarn | = 1.22.1 | No fix listed |
| yarnpkg yarn | = 1.22.2 | No fix listed |
| yarnpkg yarn | = 1.22.3 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| yarnpkg yarn | = 1.22.4 | No fix listed |
| yarnpkg yarn | = 1.22.5 | No fix listed |
| yarnpkg yarn | = 1.22.6 | No fix listed |
| yarnpkg yarn | = 1.22.7 | No fix listed |
| yarnpkg yarn | = 1.22.8 | No fix listed |
| yarnpkg yarn | = 1.22.9 | No fix listed |
| yarnpkg yarn | = 1.22.10 | No fix listed |
| yarnpkg yarn | = 1.22.11 | No fix listed |
| yarnpkg yarn | = 1.22.12 | No fix listed |
| yarnpkg yarn | = 1.22.13 | No fix listed |
| yarnpkg yarn | = 1.22.14 | No fix listed |
| yarnpkg yarn | = 1.22.15 | No fix listed |
| yarnpkg yarn | = 1.22.16 | No fix listed |
| yarnpkg yarn | = 1.22.17 | No fix listed |
| yarnpkg yarn | = 1.22.18 | No fix listed |
| yarnpkg yarn | = 1.22.19 | No fix listed |
| yarnpkg yarn | = 1.22.20 | No fix listed |
| yarnpkg yarn | = 1.22.21 | No fix listed |
| yarnpkg yarn | = 1.22.22 | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-yarnpkg(Ubuntu:26.10) | All versions | No fix listed |
| yarnpkg yarn | <= 1.22.22 | No fix listed |
References
- Debian Security Tracker CVE-2025-9308 vendor-advisory
- VDB-320913 | yarnpkg Yarn request-manager.js setOptions redos technical-description third-party-advisory vdb-entry
- VDB-320913 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature vdb-entry
- Submit #633486 | yarn Yarn src/util/request-manager.js v1.22.22 Inefficient Regular Expression Complexity third-party-advisory vdb-entry
- github.com exploit issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org