Bandit(HTTP/2)に接続を長時間占有される脆弱性
Summary
HTTP/2のWINDOW_UPDATEフレームや空のSETTINGSフレームを送り続けることで、認証なしの遠隔の攻撃者がストリーム処理を無期限に開いたままにできる脆弱性です。影響を受けるのはHexのBandit 1.4.0以上1.14.0未満で、修正版は1.14.0です。CVSSv4は8.7で、重要度は高とされています。利用中の版を確認し、1.14.0以上へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
HTTP/2のWINDOW_UPDATEフレームや空のSETTINGSフレームを送り続けることで、認証なしの遠隔の攻撃者がストリーム処理を無期限に開いたままにできる脆弱性です。影響を受けるのはHexのBandit 1.4.0以上1.14.0未満で、修正版は1.14.0です。CVSSv4は8.7で、重要度は高とされています。利用中の版を確認し、1.14.0以上へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mtrudelbandit |
≥ fff06efe3be962b484bd4d3eb339372fda5a231f, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a→ 220b9dfd27f9a21305be2afc75cbe585ddc24e7a |
220b9dfd27f9a21305be2afc75cbe585ddc24e7a |
| Hexbandit |
≥ 1.4.0, < 1.14.0→ 1.14.0 |
1.14.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-115269 bandit No fixed version in this record
Original description The description as published by the source.
Summary
Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 request body reader of mtrudel bandit allows an unauthenticated remote attacker to hold stream processes open indefinitely via WINDOW_UPDATE or empty SETTINGS frames sent while a Plug reads the request body.
Bandit.HTTP2.Stream.do_read_data/4 in lib/bandit/http2/stream.ex waits for each frame with a fresh read_timeout. A stream WINDOW_UPDATE, or the zero-delta window update that every empty SETTINGS frame delivers to all streams, ends the wait without delivering any body data, and the loop starts a new full countdown. A client that sends one of these 9-byte frames before each countdown expires keeps read_body blocked, together with the stream process and whatever the application holds while reading, for as long as it likes.
This issue affects bandit: from 1.4.0 before 1.14.0.
Details
1. Per-receive timeout. Bandit.HTTP2.Stream.read_data/2 passes a flat read_timeout (default 15,000 ms) to do_read_data/4, which blocks in do_recv/2's receive ... after timeout.
2. Non-progress frames end the wait. A stream WINDOW_UPDATE, delivered through Bandit.HTTP2.Connection.handle_frame/3, or an empty SETTINGS frame, which delivers a zero-delta window update to every stream, is matched inside that receive. do_recv_send_window_update/2 returns a bare %Stream{}, and do_read_data/4 recurses with the identical timeout, restarting the countdown.
**3. Nothing…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web repo.hex.pm