undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
8.13.1 is the newest release of 8.x.
In short
3 new34 fixed5 changed26 internal
Security
8 advisories affect 8.12.0; 8.12.2 fixes them
- Highundici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirectsGHSA-4w7w-5xrc-9h26 · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to TLS certificate validation bypass via dropped tls options in AgentGHSA-2m5v-pch6-74hx · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiationGHSA-qrxm-fqhp-jwvm · 27 Oct 2026Fixed in 8.12.2
- Highundici vulnerable to Denial of Service via unhandled error on excessive content-encodingsGHSA-xjj6-f33q-929c · 23 Oct 2026Fixed in 8.12.2
- Moderateundici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG bufferingGHSA-9fm3-97px-rjf6 · 27 Oct 2026Fixed in 8.12.2
3 more
- Moderateundici vulnerable to Denial of Service via unhandled exception in the decompress interceptorGHSA-55wc-3pg8-jfw6 · 27 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Denial of Service via unbounded memory in the EventSource parserGHSA-4qv8-2p9j-2685 · 23 Oct 2026Fixed in 8.12.2
- Moderateundici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokensGHSA-f72v-6w45-q472 · 23 Oct 2026Fixed in 8.12.2
Release note
What's Changed
cookies: Ignore a numeric expires outside the Date range
http2: Pause bodyTimeout while applying backpressure
cache: Track cached response abort state
deduplicate: Make terminal callbacks exception-safe
decompress: Stop inflating compress and x-compress
cache: Evict least recently used entries in MemoryCacheStore
eventsource: Fix redirect targets in eventsource
redirect: Fix throwOnMaxRedirect edge
Normalize HTTP/2 headers for legacy dispatch handlers
session cache: Fix bug in tls session caching
redirect: Add error code to max redirects error
eventsource: Fix retry wrap bug
retry: Keep request headers when resuming a download
proxyagent: Correct handling of the host header
http1: Fix handling of 204/304 responses
cache: Preserve 304 response event order with async stores
dns: Handle a null pick, and stop failing over to an expired record
Keep a header named proto across features
pool: Ensure that removed clients don't pick up requests
Added @perseveranza-pets/milo as alternative experimental HTTP parser
extractBody fixes 2
Reenable cachestorage wpts
fetch: Parse language tag in filename* parameters
client: Preserve tracked response header field boundaries
http1: Fixup strictContentLength handling
cache: Compress big sqlite cache entries with zstd
eventsource: Enforce maxEventSize on unterminated lines
Limit zstd window size to 8 MB
Wpt/wpt runner fixes
h2: Unref a session detached by GOAWAY with no open streams
Throw an error when WebAssembly is not available.
typemap:
.md->.htmlinterceptor: Limit response error body size
http1: Reset connections for no-body transfer encoding
Exclude experimental milo from node.js core bundle
cache: Preserve abort reasons after completion
cache: Always treat zero-lifetime entries as stale
websocket,eventsource: Keep receive limits behind dispatcher wrappers
http2: Enforce max concurrent streams
Ignore missing release ref during cleanup
Reject unsupported FormData request bodies
Split wpt out of npm test
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.