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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| yarnpkg | Yarn | 1.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 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-yarnpkg | 4.0.2+dfsg-2 | — |
| Debian 13 | node-yarnpkg | 4.0.2+dfsg-2 | — |
| Debian 12 | node-yarnpkg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-yarnpkg | No fix yet | — |
| Ubuntu 26.04 LTS | node-yarnpkg | No fix yet | — |
| Ubuntu 25.10 | node-yarnpkg | No fix yet | — |
| Ubuntu 24.04 LTS | node-yarnpkg | No fix yet | — |
| Ubuntu 22.04 LTS | node-yarnpkg | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-yarnpkg | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | yarn | No fix yet | — |
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