Debian Package Tracker
Register | Log in
Subscribe

python-urllib3

HTTP library with thread-safe connection pooling for Python3

Choose email to subscribe with

general
  • source: python-urllib3 (main)
  • version: 2.8.0-2
  • maintainer: Debian Python Team (DMD)
  • uploaders: Daniele Tricoli [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 1.26.5-1~exp1
  • o-o-sec: 1.26.5-1~exp1+deb11u4
  • oldstable: 1.26.12-1+deb12u4
  • old-sec: 1.26.12-1+deb12u4
  • old-p-u: 1.26.12-1+deb12u4
  • stable: 2.3.0-3+deb13u2
  • stable-sec: 2.3.0-3+deb13u2
  • testing: 2.8.0-2
  • unstable: 2.8.0-2
versioned links
  • 1.26.5-1~exp1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.26.5-1~exp1+deb11u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.26.12-1+deb12u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.3.0-3+deb13u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.8.0-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • python3-urllib3
action needed
Debci reports failed tests high
  • unstable: pass (log)
    The tests ran in 0:03:10
    Last run: 2026-07-13T09:03:24.000Z
    Previous status: unknown

  • testing: pass (log)
    The tests ran in 0:01:57
    Last run: 2026-09-27T02:27:22.000Z
    Previous status: unknown

  • stable: fail (log)
    The tests ran in 2:48:06
    Last run: 2026-08-18T05:09:53.000Z
    Previous status: unknown

Created: 2026-07-15 Last update: 2026-10-13 14:02
3 security issues in trixie high

There are 3 open security issues in trixie.

2 important issues:
  • CVE-2026-97687: urllib3 is an HTTP client library for Python. From 1.26.0 until 2.8.0, the proxy_ssl_context, proxy_assert_hostname, proxy_assert_fingerprint, ssl_context, cert_reqs, verify_mode, use_forwarding_for_https=True, and CERT_NONE configuration paths fail to remain separated because target-server TLS settings are incorrectly applied to the HTTPS proxy connection. The trigger is that an application uses an HTTPS proxy and configures target-server TLS settings that must remain separate from the proxy TLS handshake, including HTTPS forwarding with target-specific identity or credentials. Applying cert_reqs=CERT_NONE can overwrite proxy_ssl_context.verify_mode in place, and the mutation persists so later connections reusing the same context may connect to the HTTPS proxy without certificate verification. The attack mechanism is that an attacker intercepts and impersonates the HTTPS proxy after the effective proxy policy accepts the attacker's certificate. The impact is that the attacker can observe or modify forwarded traffic or receive a target TLS client certificate, while CONNECT tunneling still preserves the separate end-to-end target TLS connection. This issue is fixed in version 2.8.0.
  • CVE-2026-97689: urllib3 is an HTTP client library for Python. From 1.10.3 until 2.8.0, the HTTPResponse.read_chunked and HTTPResponse.stream methods can allocate unbounded memory because the streaming chunk parser buffers the chunk-size field until newline or EOF without a length bound. The trigger is that a malicious server returns Transfer-Encoding: chunked followed by a very long run of bytes without a newline. The attack mechanism is that a malicious HTTP server sends a very long unterminated chunk-size line. The impact is that unbounded memory allocation can exhaust the client process. This issue is fixed in version 2.8.0.
1 ignored issue:
  • CVE-2025-66471: 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.
Created: 2025-12-05 Last update: 2026-10-12 12:03
1 security issue in buster high

There is 1 open security issue in buster.

1 important issue:
  • CVE-2024-37891: urllib3 is a user-friendly HTTP client library for Python. When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected. However, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the `Proxy-Authorization` header with urllib3's `ProxyManager`, disable HTTP redirects using `redirects=False` when sending requests, or not user the `Proxy-Authorization` header as mitigations.
Created: 2024-06-17 Last update: 2024-06-24 17:49
debian/patches: 2 patches to forward upstream low

Among the 2 debian patches available in version 2.8.0-2 of the package, we noticed the following issues:

  • 2 patches where the metadata indicates that the patch has not yet been forwarded upstream. You should either forward the patch upstream or update the metadata to document its real status.
Created: 2024-01-22 Last update: 2026-10-06 07:00
news
[rss feed]
  • [2026-10-13] python-urllib3 2.8.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-10-05] Accepted python-urllib3 2.8.0-2 (source) into unstable (Colin Watson)
  • [2026-09-27] python-urllib3 2.8.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-09-20] Accepted python-urllib3 2.8.0-1 (source) into unstable (Colin Watson)
  • [2026-07-30] python-urllib3 2.7.0-3 MIGRATED to testing (Debian testing watch)
  • [2026-07-21] Accepted python-urllib3 2.7.0-3 (source) into unstable (Colin Watson)
  • [2026-07-16] python-urllib3 2.7.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-07-12] Accepted python-urllib3 2.7.0-2 (source) into unstable (Alexandre Detiste)
  • [2026-07-06] python-urllib3 2.7.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-06-28] Accepted python-urllib3 2.7.0-1 (source) into unstable (Colin Watson)
  • [2026-06-26] Accepted python-urllib3 1.26.12-1+deb12u4 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2026-06-26] Accepted python-urllib3 1.26.12-1+deb12u4 (source) into oldstable-security (Debian FTP Masters) (signed by: Guilhem Moulin)
  • [2026-06-26] Accepted python-urllib3 1.26.5-1~exp1+deb11u4 (source) into oldoldstable-security (Guilhem Moulin)
  • [2026-06-25] Accepted python-urllib3 2.3.0-3+deb13u2 (source) into proposed-updates (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2026-06-23] Accepted python-urllib3 2.3.0-3+deb13u2 (source) into stable-security (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2026-03-21] python-urllib3 2.6.3-2 MIGRATED to testing (Debian testing watch)
  • [2026-03-18] Accepted python-urllib3 2.6.3-2 (source) into unstable (Colin Watson)
  • [2026-02-08] python-urllib3 2.6.3-1 MIGRATED to testing (Debian testing watch)
  • [2026-02-06] Accepted python-urllib3 2.6.3-1 (source) into unstable (Colin Watson)
  • [2026-01-24] Accepted python-urllib3 1.26.12-1+deb12u3 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-24] Accepted python-urllib3 1.26.12-1+deb12u2 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-24] Accepted python-urllib3 2.3.0-3+deb13u1 (source) into proposed-updates (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-23] Accepted python-urllib3 1.26.5-1~exp1+deb11u3 (source) into oldoldstable-security (Guilhem Moulin)
  • [2026-01-22] Accepted python-urllib3 1.26.12-1+deb12u3 (source) into oldstable-security (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-20] python-urllib3 2.5.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-01-17] Accepted python-urllib3 2.3.0-3+deb13u1 (source) into stable-security (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-17] Accepted python-urllib3 1.26.12-1+deb12u2 (source) into oldstable-security (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • [2026-01-10] Accepted python-urllib3 2.5.0-2 (source) into unstable (Santiago Vila)
  • [2026-01-08] Accepted python-urllib3 2.5.0-1.1 (source) into unstable (Salvatore Bonaccorso)
  • [2025-12-26] Accepted python-urllib3 1.26.5-1~exp1+deb11u2 (source) into oldoldstable-security (Guilhem Moulin)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.8.0-1
  • 2 bugs

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing