| Name | CVE-2025-9308 | 
| 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| node-yarnpkg (PTS) | bullseye | 1.22.10+~cs22.25.14-3 | vulnerable | 
|  | bookworm | 1.22.19+~cs24.27.18-2+deb12u1 | vulnerable | 
|  | forky, sid, trixie | 4.1.0+dfsg-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| node-yarnpkg | source | (unstable) | 4.0.2+dfsg-2 |  |  |  | 
Notes
[bookworm] - node-yarnpkg <no-dsa> (Minor issue)
[bullseye] - node-yarnpkg <postponed> (minor issue; DoS)
https://github.com/yarnpkg/yarn/pull/9203
Affected code removed when importing upstream version 4.0.0-rc.53+dfsg