RUSTSEC-2026-0341: Stream reassembly memory-exhaustion guard in quinn-proto can be bypassed
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 20/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 活躍
- 技術堆疊
- rust
- 領域
- networking, security
研究方向
The report describes a flaw in quinn-proto's Assembler and says it was fixed upstream in version 0.11.17, linking PR #2790. Start by checking ev-node's dependency version and whether it uses the affected quinn-proto code; the report does not name local files or tests. Done means establishing whether this repository is affected and, if so, identifying the required fix or dependency update.
由索引模型根據 Issue 內容生成。
描述
| Details | |
|---|---|
| Package | quinn-proto |
| Version | 0.11.15 |
| URL | https://github.com/quinn-rs/quinn/pull/2790 |
| Patched Versions | >=0.11.17 |
| Unaffected Versions | <0.11.15 |
| Aliases | GHSA-qfwj-vfxf-92j2 |
| Related Advisories | RUSTSEC-2026-0185 |
The fix for RUSTSEC-2026-0185 in 0.11.15 added a cap on the number of chunks buffered by the
Assembler that reassembles out-of-order stream data. However, the cap was only checked inside
the branch that triggers defragmentation, which only runs when the estimated over-allocation
exceeds a threshold proportional to the amount of buffered data. Frames handled entirely by the
unordered-read deduplication loop returned before the check ran at all.
A peer sending one small gapped STREAM frame per packet (for example, 6-byte frames separated by
1-byte gaps) keeps the per-chunk overhead below the defragmentation threshold, so the cap is never
evaluated and the chunk count grows until stream-level flow control stops the peer. With the default
TransportConfig (100 concurrent unidirectional streams and a 1.25 MB stream receive window), a
remote, unauthenticated peer can pin roughly 3 GB of receiver memory using about 125 MB of accounted
stream data. The memory is not reclaimed until the affected streams or the connection are closed.
The flaw was corrected in 0.11.17 by checking the chunk count after every insert (including in the
unordered deduplication loop) and compacting the buffer once it passes a watermark above the cap.
A stream is rejected once compaction can no longer bring the chunk count back under the cap.
Versions before 0.11.15 are affected by the original, broader issue described in RUSTSEC-2026-0185.
Thanks to Otto Hermann (@ojhermann) for reporting and fixing
this issue.
- 主要語言
- Go
- 星號
- 362
- 分支
- 295
- 平均合併
- 9 小時 29 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
evstack/ev-node 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
needs-triage
難度 3/5 1-2 天 新手友好度 76/100
維護者通常 1 天內回覆
-
DA subscriber: inline rollback does not wake catch-up可能已有人在做 @damiannolan 今天認領。 未關閉needs-triage
難度 2/5 1-3 小時 新手友好度 35/100
維護者通常 1 天內回覆
-
DA follower: split-namespace height counted as done before its other namespace is processed可能已有人在做 @damiannolan 今天認領。 未關閉needs-triage
難度 4/5 3-5 天 新手友好度 30/100
維護者通常 1 天內回覆
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 3 天內回覆
-
agent:ready
難度 2/5 1-3 小時 新手友好度 67/100
turbot/flowpipe#1162 · 1 則留言 ·
維護者通常 1 天內回覆
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costs可能已有人在做 @weirong-ui 今天認領。 未關閉kind/bug needs-priority needs-triage
難度 2/5 1-3 小時 新手友好度 72/100
kubernetes-sigs/karpenter#3728 · 1 則留言 ·
維護者通常 1 天內回覆
-
compaction: redundant exclusion checks after inRange可能已有人在做 @moodbased 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆