Wysoka

blaze: Unbounded WebSocket message aggregation in http4s-blaze-server

  • Ujawniono: 24.07.2026
  • Aktualizacja: 11.10.2026 12:22

Summary

http4s-blaze-server aggregates the fragments of an incoming WebSocket message with no limit on total size or fragment count. A client that completes a WebSocket handshake can send an unterminated fragmented message and drive unbounded heap growth in the server JVM, resulting in denial of service via OutOfMemoryError.

Impact

Any http4s application serving WebSocket routes over BlazeServerBuilder is affected; no non-default configuration is required, and maxWebSocketBufferSize does not bound the aggregate (it bounds only individual frames). A single connection sending continuation frames that never set FIN forces the server to buffer every fragment until the heap is exhausted, terminating the JVM with OutOfMemoryError on the blaze selector thread. Small fragments amplify the cost through per-frame object overhead, so a modest volume of wire bytes is sufficient. Where the WebSocket endpoint is reachable without authentication the attacker is unauthenticated and remote; where the handshake requires a principal, any authenticated client can still trigger it.

Workarounds

  • No blaze-server configuration bounds the aggregate; maxWebSocketBufferSize is not a mitigation.
  • Terminate/limit WebSocket traffic at a fronting layer that enforces message-size and fragment limits, or disable WebSocket routes.
  • Longer term: blaze is EOL upstream; plan migration to a maintained backend (e.g. ember).

Czego dotyczy

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

PlatformaPaczkaPodatne wersjePoprawka w wersji
Java / Kotlin (Maven) org.http4s:http4s-blaze-server_2.12 < 0.23.18 0.23.18
Java / Kotlin (Maven) org.http4s:http4s-blaze-server_2.13 < 0.23.18, >= 1.0.0-M1, < 1.0.0-M42 0.23.18, 1.0.0-M42
Java / Kotlin (Maven) org.http4s:http4s-blaze-server_3 >= 1.0.0-M1, < 1.0.0-M42 1.0.0-M42

Odnośniki

Ocena CVSS 7.5/10
Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Słabość (CWE)
CWE-770
Platforma
Java / Kotlin (Maven)
Paczka
org.http4s:http4s-blaze-server_2.12, org.http4s:http4s-blaze-server_2.13, org.http4s:http4s-blaze-server_3
Ujawniono
24.07.2026
Aktualizacja
11.10.2026 12:22

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-7ppr-r889-mcf2 - CC BY 4.0

Historia podatności: org.http4s:http4s-blaze-server_2.13

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

Wszystkich wpisów
3
Pierwsza → ostatnia
02.2021 07.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Wysoka 3

Ujawnienia w latach

  1. 2021: 1
  2. 2022: 0
  3. 2023: 0
  4. 2024: 0
  5. 2025: 0
  6. 2026: 2
  1. blaze: Unbounded WebSocket message aggregation in http4s-blaze-server ten wpis
    Wysoka · 7.5 CVE-2026-73493 < 0.23.18, >= 1.0.0-M1, < 1.0.0-M42 0.23.18, 1.0.0-M42
  2. Wysoka · 7.5 CVE-2021-21294 < 0.21.17 0.21.17

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.