RUSTSEC-2026-0338: Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 1
- Fork
- 2
- Merge medio
- 14g 15h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DiamondLightSource/numtracker
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
DiamondLightSource/numtracker#311 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
DiamondLightSource/numtracker#309 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
DiamondLightSource/numtracker#278 ·
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 15/100
DiamondLightSource/numtracker#308 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 58/100
DiamondLightSource/numtracker#304 ·
Tutte le issue di DiamondLightSource/numtracker
Issue simili
-
good first issue gpu serve
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
documentation E-easy good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
charles-hood/DiagramCraft#73 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
ontologyportal/sigma-rs#200 ·
I maintainer di solito rispondono entro 1 giorno