httpx2 is vulnerable to Denial of Service (DoS)
59
Medium Risk
The Server-Sent Events parser buffers event data across response chunks and repeatedly copies and rescans the accumulated text when chunks arrive without line terminators. An untrusted SSE endpoint can stream crafted data to consume excessive client CPU, stalling worker threads or the event loop and degrading availability. The fix parses incrementally and enforces a default maximum event size.
You are affected if you are using a version that falls within the vulnerable range and you consume Server-Sent Events from an untrusted endpoint.
httpx2 is vulnerable to Denial of Service (DoS) in versions 2.5.0 - 2.9.1.
Upgrade the httpx2 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