undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
6.29.1 is the newest release of 6.x.
In short
3 security
Security
Fixes 3 advisories that affected 6.28.0
- Highundici vulnerable to Denial of Service via unrequested WebSocket subprotocolGHSA-rfgv-xxqx-mfg5 · 29 Sep 2026Fixed in 6.28.1
- Moderateundici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompressionGHSA-3wwx-pv8p-q78v · 28 Sep 2026Fixed in 6.28.1
- Lowundici vulnerable to downstream response splitting via retry interceptorGHSA-r53p-7pc4-xj5r · 29 Sep 2026Fixed in 6.28.1
5 advisories affect 6.28.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 vulnerable to Denial of Service via unhandled error on excessive content-encodingsGHSA-xjj6-f33q-929c · 23 Oct 2026Fixed in 6.29.1
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 6.29.1
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 6.29.1
Release note
Security fixes
High severity
- Security
GHSA-rfgv-xxqx-mfg5: a WebSocket server could select a subprotocol when none was requested, causing an uncaught
TypeErrorthat could terminate the process. Undici now rejects the handshake with protocol error 1002. Fixed by 2af0faf8.
Medium severity
- Security
GHSA-3wwx-pv8p-q78v: a malformed permessage-deflate payload exceeding the configured decompression limit could emit an unhandled zlib error and terminate the process. Undici now destroys the inflater after reaching the limit. Fixed by 07c60d9c.
Low severity
- Security
GHSA-r53p-7pc4-xj5r: the retry interceptor could concatenate a resumed response with inconsistent framing into downstream output, enabling response splitting or corruption. Undici now validates
Content-Rangeagainst the original response framing before resuming. Fixed by ce31bc82.
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.