CyberRota Analysis
AI-GeneratedThe vulnerability affects undici versions 7.1.0 to 7.29.1 and 8.0.0 to 8.10.2, where the dump interceptor mishandles responses without a Content-Length header, leading to premature connection termination and misleading success statuses with truncated responses. This could result in applications receiving incomplete data without proper error handling, potentially impacting data integrity and user experience. Developers and organizations utilizing affected undici versions should prioritize upgrading to versions 7.29.1 or 8.10.2 to mitigate this issue.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
undici's dump interceptor reads and discards a response body up to a configurable maximum size. When a response declares a Content-Length that exceeds the maximum, the interceptor aborts cleanly, but when a response has no Content-Length and is chunked, the interceptor instead signals completion early once the accumulated size reaches the maximum, without pausing or aborting the request. Because the underlying parser keeps delivering body bytes, a second completion signal fires and trips an internal assertion, which aborts the request and tears down the connection. The application is left observing a misleading successful status with an empty or truncated body while the connection has actually been disconnected. This affects undici versions from 7.1.0 up to 7.29.1 and from 8.0.0 up to 8.10.2. Users should upgrade to undici 7.29.1 or 8.10.2.