Katalog CVE

CVE-2026-105298

ŚrednieCVSS 6.3
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W wersjach Pingora przed 0.9.0 akceptowano żądania HTTP/2, w których nagłówek Host różnił się od pseudo-nagłówka :authority. Filtry żądań, klucze cache i logi widziały wartość :authority, natomiast serwer upstream otrzymywał wartość Host dostarczoną przez klienta. Pingora akceptowała również wartości :authority zawierające userinfo (np. [email protected]), co narusza RFC 9113 sekcja 8.3.1.

Ocena ryzyka

Zdalny, nieuwierzytelniony atakujący może wysłać jedno żądanie HTTP/2, które aplikacja widzi jako inny host niż upstream, co może prowadzić do zatrucia cache lub obejścia kontroli dostępu opartej na hoście. Podatne są wdrożenia akceptujące HTTP/2 od klientów i wykorzystujące authority żądania do decyzji bezpieczeństwa lub cache.

Rekomendacja

Zaktualizuj Pingora do wersji 0.9.0 lub nowszej, która odrzuca żądania HTTP/2 z niezgodnym Host/:authority, wieloma nagłówkami Host lub userinfo w authority. Jeśli aktualizacja nie jest możliwa, w request_filter odrzucaj żądania HTTP/2 z Host różnym od URI authority lub z '@' w authority.

Inne podatności w Pingora

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

Summary Before version 0.9.0, Pingora accepted HTTP/2 requests whose Host header differed from the :authority pseudo-header. Request filters, cache keys, and logs that read the request URI (session.req_header().uri) saw the :authority value, but the upstream received the client-supplied Host value. Pingora also accepted :authority values containing userinfo (for example, [email protected]). This violates RFC 9113 Section 8.3.1, which requires an intermediary to use the :authority value for Host and replace any existing Host field. Root cause * HTTP/2 to HTTP/1.1: Host was generated from :authority only when the request had no Host header, so a conflicting client Host was forwarded unchanged. * HTTP/2 to HTTP/2: the client Host header was removed and used to overwrite the upstream :authority, after request filters had already run against the original :authority. * The HTTP/2 server did not compare Host with :authority and did not reject userinfo in the authority. Impact A remote, unauthenticated attacker can send a single HTTP/2 request that the application sees as one host and the upstream receives as another. Where request filters, access controls, or cache keys use the URI authority and the upstream routes by Host, this can lead to: * Cache poisoning: a response from another virtual host is stored under the victim host's cache key and served to other users (this also requires the upstream to serve different content per Host). * Host-based access control bypass: a request approved for one host is served by a different virtual host on the upstream. Deployments that do not accept HTTP/2 from clients, or that do not use the request authority for security or caching decisions, are not affected. Note that Cloudflare CDN customers were unaffected, as internal Pingora services at Cloudflare do not have HTTP/2 clients. Mitigation: * Upgrade to pingora 0.9.0 or later. Pingora now returns 400 Bad Request for HTTP/2 requests whose Host differs from :authority, that contain more than one Host, or whose authority contains userinfo, and keeps the upstream Host or :authority consistent with the request authority. Fix commits: https://github.com/cloudflare/pingora/commit/915590a91811877795531f6ba0927a3138b5cb4b , https://github.com/cloudflare/pingora/commit/ffab8302d08d4292d1924eb8fe84647fd5cb8e76 * If you cannot upgrade: in request_filter, reject HTTP/2 requests that carry a Host header different from the URI authority, or whose authority contains '@'.

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