Średnia

urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects

  • Ujawniono: 17.06.2024
  • Aktualizacja: 11.10.2026 15:17

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.

Affected usages

We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:

  • Setting the Proxy-Authorization header without using urllib3's built-in proxy support.
  • Not disabling HTTP redirects.
  • Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.

Remediation

  • Using the Proxy-Authorization header with urllib3's ProxyManager.
  • Disabling HTTP redirects using redirects=False when sending requests.
  • Not using the Proxy-Authorization header.

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Python (PyPI) urllib3 < 1.26.19, >= 2.0.0, < 2.2.2 1.26.19, 2.2.2

Odnośniki

Ocena CVSS 4.4/10
Wektor CVSS
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Słabość (CWE)
CWE-669
Platforma
Python (PyPI)
Paczka
urllib3
Ujawniono
17.06.2024
Aktualizacja
11.10.2026 15:17

Źródła i licencje

OSV / GitHub Advisory Database - PYSEC-2026-1995 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-34jh-p97f-mpxf - CC BY 4.0

Historia podatności: urllib3

Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (22) w archiwum
Wszystkich wpisów
22
Pierwsza → ostatnia
01.2017 09.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Krytyczna 1
  • Wysoka 11
  • Średnia 10

Ujawnienia w latach

  1. 2017: 1
  2. 2018: 1
  3. 2019: 2
  4. 2020: 2
  5. 2021: 2
  6. 2022: 0
  7. 2023: 3
  8. 2024: 1
  9. 2025: 4
  10. 2026: 6
Istotność:
  1. Wysoka CVE-2026-97687 >= 1.26.0, < 2.8.0 2.8.0
  2. Wysoka · 7.5 CVE-2026-44432 >= 2.6.0, < 2.7.0 2.7.0
  3. Wysoka CVE-2025-66471 >= 1.0, < 2.6.0 2.6.0
  4. Wysoka CVE-2025-66418 >= 1.24, < 2.6.0 2.6.0
  5. urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects ten wpis
    Średnia · 4.4 CVE-2024-37891 < 1.26.19, >= 2.0.0, < 2.2.2 1.26.19, 2.2.2
  6. Wysoka · 5.9 CVE-2023-43804 >= 2.0.0, < 2.0.6, < 1.26.17 2.0.6, 1.26.17
  7. Wysoka · 7.5 CVE-2020-7212 >= 1.25.2, < 1.25.8 1.25.8
  8. Wysoka · 7.5 CVE-2019-11324 < 1.24.2 1.24.2
  9. Krytyczna · 9.8 CVE-2018-20060 < 1.23 1.23

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.