urllib3 Streaming API improperly handles highly compressed data
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| urllib3 | urllib3 | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Urllib3 | Urllib3 | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2xpw-w6gg-jr37 | urllib3 streaming API improperly handles highly compressed data |
Ubuntu USN |
USN-7927-2 | urllib3 regression |
Ubuntu USN |
USN-7927-3 | urllib3 regression |
Ubuntu USN |
USN-8344-1 | pip vulnerabilities |
Ubuntu USN |
USN-8344-3 | pip vulnerability |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.731% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python urllib3 |
|
| CPEs | cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Python
Python urllib3 |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Urllib3
Urllib3 urllib3 |
|
| Vendors & Products |
Urllib3
Urllib3 urllib3 |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data. | |
| Title | urllib3 Streaming API improperly handles highly compressed data | |
| Weaknesses | CWE-409 | |
| References |
| |
| Metrics |
cvssV4_0
|