RUSTSEC-2026-0338: Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
还没有人认领这个 Issue。
评估
调研方向
Start by checking whether the project resolves quinn-proto at all, for example with cargo tree -i quinn-proto run against Cargo.lock. If it does, bump it to >=0.11.18 with cargo update -p quinn-proto and check that the build and tests still pass. Done means the lockfile resolves to a patched version and nothing in the tree still uses 0.11.17.
由索引模型根据 Issue 内容生成。
描述
Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
| Details | |
|---|---|
| Package | quinn-proto |
| Version | 0.11.17 |
| URL | https://github.com/quinn-rs/quinn/pull/2868 |
| Date | 2026-09-14 |
| Patched versions | >=0.11.18 |
| Unaffected versions | <0.7.0 |
When a stream is read in unordered mode (for example through RecvStream::read(false) in
quinn-proto or read_unordered in quinn), quinn-proto proactively deduplicates received data
by recording received ranges in a RangeSet through its replace method. When an incoming
STREAM frame carried an empty payload, the Drop implementation of the iterator returned by
replace inserted an empty range into the set, violating the invariant that stored ranges are
non-empty. Subsequent frames overlapping that region then caused a panic while processing the
stream.
A remote peer can trigger this with five small STREAM frames (two of them zero-length) once the
application has put the stream in unordered-read mode. The default ordered read path is not
affected.
The flaw was corrected in 0.11.18 by ignoring empty ranges in RangeSet::replace.
Thanks to Otto Hermann (@ojhermann) for reporting this issue.
See advisory page for additional details.
- 主要语言
- Rust
- 星标
- 1
- 派生
- 2
- 平均合并
- 14 天 15 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DiamondLightSource/numtracker 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 80/100
DiamondLightSource/numtracker#311 ·
-
难度 1/5 1 小时以内 新手友好度 70/100
DiamondLightSource/numtracker#309 ·
-
难度 1/5 1 小时以内 新手友好度 82/100
DiamondLightSource/numtracker#278 ·
-
难度 2/5 1 小时以内 新手友好度 15/100
DiamondLightSource/numtracker#308 ·
-
难度 2/5 1-3 小时 新手友好度 58/100
DiamondLightSource/numtracker#304 ·
查看 DiamondLightSource/numtracker 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
521xueweihan/HelloGitHub#4023 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
nautechsystems/nautilus_trader#5365 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
IntersectMBO/developer-experience#347 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
registrystack/registry-stack#2168 ·
维护者通常 1 天内回复
-
bug crate: 3d help wanted triage
难度 2/5 1-3 小时 新手友好度 78/100
kornia/kornia-rs#1203 · 1 条评论 ·
维护者通常 1 天内回复