Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-con...
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.
Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 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