undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
5.29.0 is the newest release of 5.x.
In short
1 security
Security
Fixes 1 advisory that affected 5.5.0
- HighProxyAgent vulnerable to MITMGHSA-pgw7-wx7w-2w33 · 17 Jun 2022Fixed in 5.5.1
27 advisories affect 5.5.1; 6.29.1 fixes them
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 6.29.1
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 6.29.1
- Highundici WebSocket client vulnerable to denial of service via fragment count bypassGHSA-vxpw-j846-p89q · 19 Jun 2026Fixed in 6.27.0
- HighUndici has Unbounded Memory Consumption in WebSocket permessage-deflate DecompressionGHSA-vrm6-8vpv-qv8q · 13 Mar 2026Fixed in 6.24.0
- HighUndici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits ValidationGHSA-v9p9-hfj2-hcw8 · 13 Mar 2026Fixed in 6.24.0
22 more
- HighRegular Expression Denial of Service in HeadersGHSA-r6ch-mqf9-qc9w · 16 Feb 2023Fixed in 5.19.1
- Moderateundici vulnerable to CRLF Injection via blob-like body 'type' propertyGHSA-m8rv-5g2x-5cg5 · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsGHSA-v3r7-h72x-cjcm · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to downstream response desynchronization via retry interceptorGHSA-8xcm-r25x-g524 · 3 Aug 2026Fixed in 6.28.0
- Moderateundici vulnerable to HTTP header injection via Set-Cookie percent-decodingGHSA-p88m-4jfj-68fv · 19 Jun 2026Fixed in 6.27.0
- ModerateUndici has CRLF Injection in undici via `upgrade` optionGHSA-4992-7rv2-5pvq · 13 Mar 2026Fixed in 6.24.0
- ModerateUndici has an HTTP Request/Response Smuggling issueGHSA-2mjp-6q6p-2qxm · 13 Mar 2026Fixed in 6.24.0
- ModerateUndici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustionGHSA-g9mf-h72j-4rw9 · 14 Jan 2026Fixed in 6.23.0
- ModerateUse of Insufficiently Random Values in undiciGHSA-c76h-2ccp-4975 · 21 Jan 2025Fixed in 5.28.5
- ModerateCRLF Injection in Nodejs ‘undici’ via hostGHSA-5r9g-qh6m-jxff · 16 Feb 2023Fixed in 5.19.1
- ModerateNodejs ‘undici’ vulnerable to CRLF Injection via Content-TypeGHSA-f772-66g8-q5h3 · 18 Aug 2022Fixed in 5.8.2
- Moderate`undici.request` vulnerable to SSRF using absolute URL on `pathname`GHSA-8qr4-xgw6-wmr3 · 18 Aug 2022Fixed in 5.8.2
- Moderateundici before v5.8.0 vulnerable to CRLF injection in request headersGHSA-3cvr-822r-rqcc · 21 Jul 2022Fixed in 5.8.0
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 6.28.1
- Lowundici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matchingGHSA-g8m3-5g58-fq7m · 19 Jun 2026Fixed in 6.27.0
- Lowundici vulnerable to HTTP response queue poisoning via keep-alive socket reuseGHSA-35p6-xmwp-9g52 · 19 Jun 2026Fixed in 6.27.0
- Lowundici Denial of Service attack via bad certificate dataGHSA-cxrh-j4jr-qwg3 · 15 May 2025Fixed in 5.29.0
- LowUndici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrectGHSA-9qxr-qj54-h672 · 4 Apr 2024Fixed in 5.28.4
- LowUndici's Proxy-Authorization header not cleared on cross-origin redirect for dispatch, request, stream, pipelineGHSA-m4v8-wqvr-p9f7 · 4 Apr 2024Fixed in 5.28.4
- LowUndici proxy-authorization header not cleared on cross-origin redirect in fetchGHSA-3787-6prv-h9w3 · 16 Feb 2024Fixed in 5.28.3
- LowUndici's cookie header not cleared on cross-origin redirect in fetchGHSA-wqq4-5wpv-mx2g · 16 Oct 2023Fixed in 5.26.2
- Lowundici before v5.8.0 vulnerable to uncleared cookies on cross-host / cross-origin redirectGHSA-q768-x9m6-m9qp · 21 Jul 2022Fixed in 5.8.0
Release note
v5.5.1 - Security release
This releases fixes CVE CVE-2022-32210. See github.com/nodejs/undici/security/advisories/GH… for more details:
Undici.ProxyAgent never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are actually sent via plain-text HTTP between Undici and the proxy server.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.