Vulnerability · Published Aug 21, 2025 · Assigned by VulDB
CVE-2025-9308yarnpkg Yarn request-manager.js setOptions redos
Low 3.3
In plain English
A low-severity regular-expression denial of service in Yarn from yarnpkg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-yarnpkg | no fix listed | DEBIAN-CVE-2025-9308 |
| Debian:13 | node-yarnpkg | 4.0.2+dfsg-2 | DEBIAN-CVE-2025-9308 |
| Debian:14 | node-yarnpkg | 4.0.2+dfsg-2 | DEBIAN-CVE-2025-9308 |
| Ubuntu:22.04:LTS | node-yarnpkg | no fix listed | UBUNTU-CVE-2025-9308 |
| Ubuntu:24.04:LTS | node-yarnpkg | no fix listed | UBUNTU-CVE-2025-9308 |
| Ubuntu:25.10 | node-yarnpkg | no fix listed | UBUNTU-CVE-2025-9308 |
| Ubuntu:26.04:LTS | node-yarnpkg | no fix listed | UBUNTU-CVE-2025-9308 |
| Ubuntu:26.10 | node-yarnpkg | no fix listed | UBUNTU-CVE-2025-9308 |
Affected products (as reported)
Weakness: CWE-1333, CWE-400 · Vector: 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
References
- VDB-320913 | yarnpkg Yarn request-manager.js setOptions redos vdb-entry, technical-description
- VDB-320913 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #633486 | yarn Yarn src/util/request-manager.js v1.22.22 Inefficient Regular Expression Complexity third-party-advisory
- https://github.com/yarnpkg/yarn/pull/9203 issue-tracking