undici is vulnerable to Denial of Service (DoS)
59
CVE Score
Medium
Denial of Service (DoS)
WebSocketStream aborts its locked writable on an unclean TCP close and discards the rejection. Aborting a locked writable rejects with a TypeError, and the unobserved rejection terminates the process under Node.js's default unhandledRejection behavior. A remote peer can trigger this with a single connection teardown while the application holds a writer. The fix observes the abort result instead of leaving the rejection unhandled.
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 WebSocketStream.
7.0.0 - 7.29.0
Fixed in 7.29.18.0.0 - 8.10.1
Fixed in 8.10.2undici is vulnerable to Denial of Service (DoS) in versions 7.0.0 - 7.29.0 and 8.0.0 - 8.10.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.