urllib3 is vulnerable to Denial of Service (DoS)
89
High Risk
HTTPResponse.stream() and read_chunked() read each chunk-size line from the socket with an unbounded readline() call. A server or proxy response that omits the terminating CRLF on a chunk-size line forces urllib3 to keep buffering bytes in memory while it waits for a line ending that never arrives. Repeated or sustained oversized chunk-size lines exhaust process memory, making the client run out of memory or stop responding. The fix caps the chunk-size line read at a fixed length and raises a ProtocolError once that limit is exceeded.
You are affected if you are using a version that falls within the vulnerable range and you read chunked responses via HTTPResponse.stream() or read_chunked() from a server or proxy you do not fully control.
urllib3 is vulnerable to Denial of Service (DoS) in versions 1.24.1 - 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.