ALAS2-2025-3110


Amazon Linux 2 Security Advisory: ALAS2-2025-3110
Advisory Released Date: 2026-01-05
Advisory Updated Date: 2026-01-05
Severity: Medium

Issue Overview:

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data. This vulnerability is fixed in 2.6.0. (CVE-2025-66418)

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. (CVE-2025-66471)


Affected Packages:

python-urllib3


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python-urllib3 or yum update --advisory ALAS2-2025-3110 to update your system.

New Packages:
noarch:
    python-urllib3-1.25.9-1.amzn2.0.7.noarch

src:
    python-urllib3-1.25.9-1.amzn2.0.7.src