RUSTSEC-2026-0342: Zero-length DATAGRAM frames bypass the receive buffer limit in quinn-proto
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 1/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- networking, security
Direzione di ricerca
The issue describes a vulnerability in quinn-proto and says it was corrected in version 0.11.17, linking to pull request #2790. Read that pull request to see the affected receive and send paths and how the fixed buffer accounting is verified; done means every queued datagram consumes buffer space in both directions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
| 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.5.0 |
| Aliases | GHSA-2hv7-gw8g-gpq5 |
quinn-proto bounds its queue of received datagrams by charging each queued frame's payload length
against TransportConfig::datagram_receive_buffer_size, evicting the oldest datagrams when the
limit is exceeded. A DATAGRAM frame with an empty payload was charged zero bytes, so it never
triggered eviction and was appended to the queue, which has no other bound.
DATAGRAM frames are not subject to flow control. A peer that has completed the handshake can
therefore send a stream of empty DATAGRAM frames and grow the receiver's heap without limit until
the process is killed. An application that reads incoming datagrams but does so more slowly than
the peer sends them is still affected. Receiving datagrams is enabled by default, so all endpoints
that do not explicitly set datagram_receive_buffer_size(None) are affected.
The send path had the same accounting flaw: an application could enqueue an unbounded number of
empty outgoing datagrams without ever receiving SendDatagramError::Blocked.
The flaw was corrected in 0.11.17 by accounting for the fixed per-datagram overhead in both
directions, so that every queued datagram consumes buffer space.
Thanks to @alexpyattaev for reporting this issue.
- Lingua principale
- Go
- Stelle
- 362
- Fork
- 295
- Merge medio
- 9h 29m
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la 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 evstack/ev-node
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
DA subscriber: inline rollback does not wake catch-upForse già presa @damiannolan l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
DA follower: split-namespace height counted as done before its other namespace is processedForse già presa @damiannolan l’ha presa oggi. Apertaneeds-triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di evstack/ev-node
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni
-
agent:ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
turbot/flowpipe#1162 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsForse già presa @weirong-ui l’ha presa oggi. Apertakind/bug needs-priority needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kubernetes-sigs/karpenter#3728 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
compaction: redundant exclusion checks after inRangeForse già presa @moodbased l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno