undici is vulnerable to Denial of Service (DoS)
59
Medium Risk
The retry handler leaves an already-exposed response body pending when a truncated successful response is retried and the retry returns a non-retryable status. The original body the application still holds is never ended or destroyed, so reads hang and bodyTimeout does not fire. A remote peer can repeat this to accumulate pending streams. The fix settles the original body when the handler replaces it.
You are affected if you are using a version that falls within the vulnerable range and you use the retry handler.
undici is vulnerable to Denial of Service (DoS) in versions 7.11.0 - 7.29.0 and 8.0.0 - 8.10.1.
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.