CERT24urllib3 can enter an infinite loop in HTTPResponse.stream and HTTPResponse.read_chunkedLoading data…

urllib3 can enter an infinite loop in HTTPResponse.stream and HTTPResponse.read_chunked

In urllib3 versions from 2.6.2 up to, but not including, 2.8.0, HTTPResponse.stream and HTTPResponse.read_chunked can enter an infinite loop when an untrusted server sends a chunked Deflate response with specific characteristics. The issue causes excessive CPU usage and a request that does not complete. It is fixed in version 2.8.0.

← Back to intelligence

urllib3 can enter an infinite loop in HTTPResponse.stream and HTTPResponse.read_chunked

In urllib3 versions from 2.6.2 up to, but not including, 2.8.0, HTTPResponse.stream and HTTPResponse.read_chunked can enter an infinite loop when an untrusted server sends a chunked Deflate response with specific characteristics. The issue causes excessive CPU usage and a request that does not complete. It is fixed in version 2.8.0.