Description
undici is an HTTP client for Node.js. In versions 7.29.1 through 7.30.3 and 8.10.2 through 8.14.0, when a dispatcher is composed with the dump and retry interceptors and the application discards a response body with the documented dump method, a malicious or faulty server that announces a larger content-length than it sends, delivers a partial body, and closes the connection makes the abort reason get lost on the way to the retry handler, whose default retry function then throws while reading it. The throw surfaces as an error event on an internal client with no listener, so the Node.js process exits, and neither the application's try/catch nor the promise returned by request catches it. A remote, unauthenticated server can trigger this with a single response, which results in denial of service. The bug was introduced by the fix for CVE-2026-84947, and earlier releases and the 6.x line are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid composing the retry interceptor together with the dump interceptor on dispatchers whose response bodies are discarded, or pass a custom retry function that tolerates a non-object error.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Sat, 05 Dec 2026 10:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | undici is an HTTP client for Node.js. In versions 7.29.1 through 7.30.3 and 8.10.2 through 8.14.0, when a dispatcher is composed with the dump and retry interceptors and the application discards a response body with the documented dump method, a malicious or faulty server that announces a larger content-length than it sends, delivers a partial body, and closes the connection makes the abort reason get lost on the way to the retry handler, whose default retry function then throws while reading it. The throw surfaces as an error event on an internal client with no listener, so the Node.js process exits, and neither the application's try/catch nor the promise returned by request catches it. A remote, unauthenticated server can trigger this with a single response, which results in denial of service. The bug was introduced by the fix for CVE-2026-84947, and earlier releases and the 6.x line are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid composing the retry interceptor together with the dump interceptor on dispatchers whose response bodies are discarded, or pass a custom retry function that tolerates a non-object error. | |
| Title | undici vulnerable to Denial of Service via unhandled error in the dump and retry interceptors | |
| Weaknesses | CWE-248 | |
| References |
| |
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: openjs
Published:
Updated: 2026-12-05T10:16:39.293Z
Reserved: 2026-11-23T14:49:59.730Z
Link: CVE-2026-135194
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses