undici vulnerable to Denial of Service via unhandled error in the dump and retry interceptors
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| undici | undici | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| 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
|
No data.
No data.
No data.
No data.
No data.