Technical impact
This vulnerability, described as an Allocation of Resources Without Limits or Throttling, allows an unauthenticated client to exhaust the memory of a Cowboy connection process by sending a crafted HTTP/1.1 request containing many duplicate header lines. Each duplicate header line’s value is concatenated into a single growing binary associated with one map key, so the number of distinct header names never increases and the configured max_headers cap (default 100) is never reached. Because no overall bounds are placed on either the number of duplicate header lines or the total byte size of the header block, the attacker can create a request that consumes an arbitrary amount of memory within the request window. The effect on a single connection is bounded by the request_timeout (default 5 seconds, not reset by header data) and by the max_heap_size limit; if the heap grows beyond that limit the offending process is terminated, but when max_heap_size remains unset, sustained abuse can force the Erlang VM into an out‑of‑memory condition and potentially bring the entire application down.
Affected Systems
Cowboy, the Erlang HTTP server published by the ninenines community, is affected for all releases from 2.0.0‑pre.4 up to, but not including, version 2.18.0. The vulnerability is tied to the default max_headers value of 100 and the lack of a global header block size limit.
Risk and Exploitability
The CVSS score is 6.9, indicating a moderate severity. The EPSS score is below 1 %, suggesting a low probability of exploitation at the moment. The vulnerability is not listed in the CISA KEV catalog. The attack is likely to be performed remotely by sending a specially crafted HTTP request from an unauthenticated client that exploits the duplicated header behavior to exhaust memory within a single connection.