Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote att...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSbandit |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSbandit |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSbandit |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSbandit |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSbandit |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10bandit |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSbandit |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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. The SETTINGS handling in Bandit.HTTP2.Connection (lib/bandit/http2/connection.ex) passes remote_settings.header_table_size to HPAX.resize/2 with no server-side cap, and encode_headers encodes every response header as :store. Serving N responses on one connection therefore costs O(N²) CPU in the connection process. This issue affects bandit: from 0.3.6 before 1.14.0.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report cna.erlef.org
- report github.com
- report github.com
- report github.com
- report hex.pm
- report github.com
- report github.com
- report repo.hex.pm
- report github.com
- report nvd.nist.gov
- report osv.dev