undici is vulnerable to Denial of Service
72
CVE Score
High
Denial of Service
A malicious HTTP server can crash the Node.js process by returning a response with more than five content codings and closing the connection before sending the body. fetch() rejects such responses, but the internal response stream is created before the content-encoding limit check and is left without an error listener or abort. The early close then raises an unhandled error on that orphaned stream, which terminates the process even if the application catches the fetch() rejection. The fix validates the content-encoding chain before creating the body stream and aborts the response when the limit is exceeded.
Upgrade the undici library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you use fetch() to request resources from servers that may be malicious or compromised.
6.23.0 - 6.29.0
Fixed in 6.29.17.18.0 - 7.30.0
Fixed in 7.30.18.0.0 - 8.12.1
Fixed in 8.12.2undici is vulnerable to Denial of Service in versions 6.23.0 - 6.29.0, 7.18.0 - 7.30.0 and 8.0.0 - 8.12.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.