urllib3 is vulnerable to Denial of Service (DoS)
69
Medium Risk
urllib3's chunked Deflate decoding path re-invokes the zlib decompressor without confirming that each call advances the decode state. A chunked response with Deflate content-encoding can be shaped so the decompressor keeps returning without producing output or reaching the end of the stream. Streaming that response causes HTTPResponse.stream() and read_chunked() to loop indefinitely, blocking the calling thread until it is killed externally. The fix detects the stalled decode state and raises a decoding error instead of looping.
You are affected if you are using a version that falls within the vulnerable range and you stream a chunked response with Deflate content-encoding from a server or proxy you do not fully control.
urllib3 is vulnerable to Denial of Service (DoS) in versions 2.6.2 - 2.7.0.
Upgrade the urllib3 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.