Bandit denial of service in HTTP/2 HPACK encoder table sizing
mtrudel bandit
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mtrudel bandit |
| No fix yet |
| mtrudel bandit |
| No fix yet |
Original description
Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote attacker to grow per-connection memory and CPU cost without bound via a large SETTINGS_HEADER_TABLE_SIZE. Bandit resizes its HPACK encoder table to whatever size the client advertises, up to 2^32-1 bytes, and indexes response headers into it. Because responses carry distinct values such as date or content-length, nothing is evicted and the table grows with every response for the life of the connection, while each lookup scans it linearly.