CVE-2026-65624
ŚrednieCVSS 6.9Prawdopodobieństwo exploitacji (EPSS)
Podwyższone ryzykoPercentyl 51 - wyżej niż 51% wszystkich znanych CVE
Streszczenie
Serwer HTTP cowboy w wersjach od 2.0.0-pre.4 do 2.17.x jest podatny na wyczerpanie pamięci przez nieograniczone zasoby. Nieuwierzytelniony atakujący może wysłać wiele nagłówków HTTP/1.1 o tej samej nazwie, powodując ciągły wzrost pamięci binarnej, co może doprowadzić do wyczerpania pamięci Erlang VM.
Ocena ryzyka
Atakujący może spowodować awarię serwera z powodu braku pamięci, co prowadzi do przerwania działania usług.
Rekomendacja
Zaleca się aktualizację cowboy do wersji 2.18.0 lub nowszej oraz ustawienie max_heap_size w konfiguracji Erlang VM.
Inne podatności w cowboy
Zobacz wszystkie- CVE-2026-115701Wysokie
W bibliotece ninenines cowboy występuje podatność na wyczerpanie zasobów bez ograniczeń — cowboy_http:parse/2 buforuje każdy kolejny bajt przychodzący na połączeniu keep-alive, gdy handler wciąż działa, bez limitu rozmiaru bufora. Nieuwierzytelniony zdalny atakujący może wysyłać dowolną ilość danych na jednym połączeniu, doprowadzając maszynę wirtualną Erlang do braku pamięci. Problem dotyczy wersji od 2.18.0.
- CVE-2026-8466Wysokie
W bibliotece cowboy (ninenines) od wersji 2.0.0 do przed 2.15.0 funkcja `cowboy_req:read_part/3` gromadzi bajty żądania w buforze bez górnego limitu, gdy parsowanie nagłówków multipart zwraca `more`. Nieuwierzytelniony atakujący może wysłać żądanie multipart/form-data bez kompletnego nagłówka, powodując liniowy wzrost zużycia pamięci i wyczerpanie pamięci BEAM.
Oryginalny opis (angielski, źródło NVD)
Allocation of Resources Without Limits or Throttling vulnerability in ninenines cowboy allows an unauthenticated remote attacker to exhaust connection process memory over HTTP/1.1. The HTTP/1.1 handler in cowboy_http enforces the max_headers limit by counting the number of distinct header names in a map (maps:size(Headers)). When a request contains multiple header lines with the same name, the values are concatenated into a single ever-growing binary stored under that one map key (", " for regular headers, "; " for cookies), so the map size stays at one and the max_headers cap (default 100) is never reached. Because no accumulator bounds the total number of header lines or the total byte size of the header block (only per-line max_header_name_length and max_header_value_length apply), an unauthenticated client can send an arbitrary number of header lines with the same name and grow the connection process's binary memory to arbitrary size within the request window. The impact per connection is bounded by request_timeout (default 5 seconds, not reset by header data), and by max_heap_size when set (the offending connection process is killed once its heap grows past the limit). When max_heap_size is left at the default (unset), sustained abuse can drive the Erlang VM into out-of-memory conditions. This issue affects cowboy from 2.0.0-pre.4 before 2.18.0.
Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS

