undici
8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed
Upgrading undici From 8.8.0 to 8.9.0
1 release in betweenevery note read
- 0
- changes to make
- 5
- advisories fixed
- 0
- new
- 0
- fixes
Security
18 advisories still affect 8.9.0
- undici vulnerable to response truncation via oversized chunked responses in the dump interceptorlow · GHSA-2gqq-gqf2-x968
- undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared cachesmoderate · GHSA-2jfj-6hjv-fm6j
- undici vulnerable to TLS certificate validation bypass via dropped tls options in Agenthigh · GHSA-2m5v-pch6-74hx
Upgrading to 8.12.2 clears them.
Fixes 5 advisories affecting 8.8.0
- undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directiveshigh · GHSA-4cwx-7wf7-3272
- undici vulnerable to downstream response desynchronization via retry interceptormoderate · GHSA-8xcm-r25x-g524
- undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directivesmoderate · GHSA-jr45-8vmc-qm54
- undici vulnerable to CRLF Injection via blob-like body 'type' propertymoderate · GHSA-m8rv-5g2x-5cg5
- undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fieldsmoderate · GHSA-v3r7-h72x-cjcm
- 8.9.0
GHSA-4cwx-7wf7-3272: malformed qualified
privateCache-Control directives could cause cross-user information disclosure in shared caches or a parse-time crash. The cache parser now treats empty qualified directives conservatively and safely handles mixed qualified and unqualified directives. Fixed by 4fe5bc5f with regression coverage in 9f09b49a. - 8.9.0
GHSA-m8rv-5g2x-5cg5: a malicious
typeproperty on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generatedcontent-typeheader. Undici now coerces and validates the value before adding it to the request. Fixed by 7d3cf924. - 8.9.0
GHSA-jr45-8vmc-qm54: optional whitespace around
=in qualifiedno-cacheandprivatedirectives could bypass shared-cache restrictions and disclose authenticated data across users. Cache-Control parsing now normalizes these forms and applies conservative cache decisions. Fixed by c601fff1. - 8.9.0
GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale
Content-Lengthafter resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whoseContent-Lengthis inconsistent withContent-Range. Fixed by e11a68ed, with corrected fixtures in 2b3f7493. - 8.9.0
GHSA-v3r7-h72x-cjcm: unsanitized
domainandunparsedvalues passed tosetCookie()could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by 10d93fc3.
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.