Katalog CVE

CVE-2026-105297

WysokieCVSS 7.5
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

W Pingora przed wersją 0.8.1 serwer HTTP/2 używał domyślnych limitów biblioteki h2, co pozwalało zdalnemu, nieuwierzytelnionemu klientowi wysyłać 1-bajtowe referencje HPACK do niemal pustego nagłówka. Powodowało to alokację setek tysięcy pól nagłówka na strumień przy nieograniczonej liczbie strumieni na jednym połączeniu, co mogło wyczerpać pamięć i zakończyć proces Pingora.

Ocena ryzyka

Zdalny, nieuwierzytelniony atakujący może wywołać atak typu denial of service (OOM) na usługi Pingora obsługujące HTTP/2 (h2 lub h2c) bez jawnie ustawionych limitów max_header_list_size i max_concurrent_streams. Pojedyncze połączenie może doprowadzić do zabicia procesu z limitem pamięci 2 GiB.

Rekomendacja

Zaktualizuj Pingora do wersji 0.8.1 lub nowszej, która domyślnie wymusza limit 64 KiB na listę nagłówków i maksymalnie 100 współbieżnych strumieni. Aplikacje z własnymi H2Options muszą jawnie ustawić max_header_list_size i max_concurrent_streams lub użyć default_h2_options() w wersji 0.8.1+.

Inne podatności w Pingora

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

Summary Before version 0.8.1, Pingora's HTTP/2 server used the h2 crate's default limits unless the application set its own 16 MiB decoded header-list size and no limit on concurrent streams. A remote, unauthenticated client can send 1-byte HPACK references to a near-empty header, making the server allocate hundreds of thousands of header fields per stream across an unlimited number of streams on one connection, and use HTTP/2 flow control to keep those streams open. This can exhaust memory and degrade or terminate the Pingora process. Impact Remote, unauthenticated denial of service against any Pingora service that terminates HTTP/2 (h2 or h2c) without explicitly setting max_header_list_size and max_concurrent_streams. The reporter showed that a single connection could get a Pingora process with a 2 GiB memory limit OOM-killed. Note that Cloudflare CDN customers were unaffected, as internal Pingora services at Cloudflare do not have HTTP/2 clients. Mitigation: * Upgrade to pingora 0.8.1 or later (fix: https://github.com/cloudflare/pingora/commit/d193c8d49b8b7c1c1ede93183759caa4f6906bbd ). When no H2Options are supplied, Pingora now advertises and enforces a 64 KiB decoded header-list limit and at most 100 concurrent streams per connection. * Applications that supply their own H2Options are not covered by these defaults and must set max_header_list_size and max_concurrent_streams explicitly (this also works on versions before 0.8.1), or, on 0.8.1 and later, start from pingora_core::protocols::http::v2::server::default_h2_options(). H2Options::default() does not include these limits.

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