undici is vulnerable to Denial of Service (DoS)
59
Medium Risk
The undici HTTP/2 client dispatcher retries a request indefinitely whenever the peer keeps responding with GOAWAY frames, so a misbehaving or malicious HTTP/2 server can hold a request in an unbounded connect, refuse, reconnect loop that never settles the caller's promise. Stale request and stream cleanup listeners could also fire after a session was torn down, incorrectly completing or splicing a request that had already been requeued onto another session and corrupting pool/promise state. Left unbounded, this starves the Node.js event loop and leaks pending requests under normal outbound HTTP/2 traffic to an adversarial or compromised peer. The fix caps GOAWAY-triggered replay to a single attempt and severs the old stream's listeners before a request is requeued.
You are affected if you are using a version that falls within the vulnerable range and you dispatch HTTP/2 requests through undici to a server or proxy peer that is not fully trusted.
undici is vulnerable to Denial of Service (DoS) in versions 8.2.0 - 8.9.0.
Upgrade the undici library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.