Katalog CVE

CVE-2026-69209

WysokieCVSS 7.5
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

Http4s (wersje przed 0.23.35 i 1.0.0-M47) ma podatność na wyczerpanie pamięci w współdzielonym dekoderze WebSocket. Dekoder pozwala na nieograniczone buforowanie wiadomości, ponieważ defragmentacja gromadzi fragmenty bez limitu, a FrameTranscoder akceptuje deklarowane długości do Int.MaxValue. Zdalny klient po ukończeniu uzgadniania WebSocket może wyczerpać pamięć serwera.

Ocena ryzyka

Ryzyko dostępności: atak może doprowadzić do wyczerpania pamięci serwera, co skutkuje odmową usługi (DoS).

Rekomendacja

Zaktualizuj Http4s do wersji 0.23.35 lub 1.0.0-M47. Skonfiguruj limit rozmiaru wiadomości WebSocket za pomocą EmberServerBuilder.withMaxWebSocketMessageSize.

Inne podatności w Http4s

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

Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The shared WebSocket decoder permits unbounded message buffering because defragmentation accumulates fragments without a limit and FrameTranscoder accepts declared lengths up to Int.MaxValue. A remote client that completes a WebSocket handshake against an http4s-blaze-server or http4s-ember-server endpoint can exhaust server memory with oversized frames or fragmented messages. The patched decoder applies a configurable 64 MiB default limit to individual frames and defragmented messages through EmberServerBuilder.withMaxWebSocketMessageSize. This issue is fixed in versions 0.23.35 and 1.0.0-M47.

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