Description
undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nodejs | undici | < v5.7.1, >= v5.8.0 | — |
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-undici | 5.8.0+dfsg1+~cs18.9.16-1 | — |
| Debian 13 | node-undici | 5.8.0+dfsg1+~cs18.9.16-1 | — |
| Debian 12 | node-undici | 5.8.0+dfsg1+~cs18.9.16-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-undici | No fix yet | — |
| Ubuntu 26.04 LTS | node-undici | No fix yet | — |
| Ubuntu 25.10 | node-undici | No fix yet | — |
| Ubuntu 24.04 LTS | node-undici | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | nodejs16 | 16.17.0-150400.3.6.1 | SUSE-SU-2022:3250-1 |
| SLES 15 SP3 | nodejs16 | 16.17.0-150300.7.9.1 | SUSE-SU-2022:3251-1 |
| SLES 12 | nodejs16 | 16.17.0-8.9.1 | SUSE-SU-2022:3196-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs16 | 16.17.0-2.1 | openSUSE-SU-2024:12285-1 |
| openSUSE Leap 15.4 | nodejs16 | 16.17.0-150400.3.6.1 | SUSE-SU-2022:3250-1 |
| openSUSE Leap 15.3 | nodejs16 | 16.17.0-150300.7.9.1 | SUSE-SU-2022:3251-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | undici | < 5.8.0 | 5.8.0 | GHSA-3cvr-822r-rqcc |
Advisories 4
- SUSE-SU-2022:3196-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3251-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3250-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12285-1 corepack16-16.17.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026