DHI-c5cq-ch4l-o7oz-joee: undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal…
undici bundles a WebSocket client whose permessage-deflate size-limit cleanup removes all listeners from the internal zlib inflate stream, including its error listener, while that stream can still emit. When a remote peer sends a compressed payload that crosses the built-in 128 MiB decompressed-payload limit and then contains a malformed DEFLATE byte, the inflate stream emits a data error with no listener attached, which Node.js treats as a fatal unhandled error and terminates the entire process. Exploitation is remote and unauthenticated, requires no application mistake, and is asymmetric, since roughly 130 KB on the wire expands past the limit and crashes the process, and reconnecting can repeat the crash. This affects undici versions from 6.25.0 up to 6.28.1, from 7.28.0 up to 7.29.1, and from 8.1.0 up to 8.10.2. Users should upgrade to undici 6.28.1, 7.29.1, or 8.10.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/undicito a version that resolves this vulnerability.Fixed in 6.28.1 - Upgrade
Upgrade
npm/undicito a version that resolves this vulnerability.Fixed in 7.29.1 - Upgrade
Upgrade
npm/undicito a version that resolves this vulnerability.Fixed in 8.10.2
Event History
Frequently Asked Questions
What does an attacker need to do to trigger the denial of service?
The attacker only needs to act as a remote WebSocket peer and send a compressed payload that expands beyond the built-in 128 MiB decompressed-payload limit, followed by malformed DEFLATE data. No authentication or user interaction is required.
What is the practical impact on a vulnerable service?
Node.js treats the resulting unhandled inflate-stream error as fatal and terminates the entire process. A payload of roughly 130 KB on the wire can trigger the condition, and a peer that can reconnect can repeatedly crash the service.
How can I determine whether my undici dependency is in scope?
Check the installed or bundled undici version. The reported affected ranges are 6.25.0 through 6.28.1, 7.28.0 through 7.29.1, and 8.1.0 through 8.10.2.
Which listed container images should be reviewed?
Review docker-hardened-images/kyverno-policy-reporter-ui-dev, kyverno-policy-reporter-ui-fips-dev, kyverno-policy-reporter-ui-fips, kyverno-policy-reporter-ui, litellm, qdrant, supabase-storage, and uptime-kuma-2. The provided remediation guidance is to upgrade undici to 6.28.1, 7.29.1, or 8.10.2.