Katalog CVE

CVE-2026-140868

NiskieCVSS 3.7
Opublikowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.33%

Percentyl 28 - wyżej niż 28% wszystkich znanych CVE

Streszczenie

W bibliotece httpx2 (wersje przed 2.18.0) przy przekierowaniu na inny origin usuwane są nagłówki Authorization i Cookie, ale nagłówek Proxy-Authorization pozostaje. Klient, który ustawia Proxy-Authorization w nagłówkach, wysyła te dane uwierzytelniające do celu przekierowania, gdzie atakujący może je przechwycić.

Ocena ryzyka

Atakujący kontrolujący odpowiedź przekierowania lub znajdujący się w ścieżce może przechwycić dane uwierzytelniające do proxy, co może prowadzić do nieautoryzowanego dostępu. Ryzyko dotyczy aplikacji z włączonym follow_redirects i nagłówkiem Proxy-Authorization.

Rekomendacja

Zaktualizuj httpx2 do wersji 2.18.0 lub nowszej. Do czasu aktualizacji podawaj dane proxy w URL proxy zamiast w nagłówku lub wyłącz follow_redirects.

Inne podatności w httpx2

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

When following a redirect to a different origin, httpx2 removes the Authorization and Cookie headers but keeps Proxy-Authorization. A client that sets Proxy-Authorization in its client or request headers sends that credential to the redirect target, where an attacker who controls the redirecting response, or an on-path attacker on plain HTTP, can capture it. Applications are affected when all of the following hold: follow_redirects=True is set (the default is False), Proxy-Authorization is passed in headers rather than through the proxy parameter, and the redirect target is not reached through the same forward proxy that consumed the header on the first request. Proxy credentials given in the proxy URL are not affected. Affected versions are httpx2 before 2.18.0. The issue is fixed in 2.18.0, which removes Proxy-Authorization whenever a redirect changes origin. Until then, give proxy credentials in the proxy URL instead of a header, or leave follow_redirects off.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS