RUSTSEC-2026-0341: Stream reassembly memory-exhaustion guard in quinn-proto can be bypassed
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Anfängerfreundlichkeit
- 20/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- rust
- Bereich
- networking, security
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
| 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.
- Vorherrschende Sprache
- Go
- Sterne
- 362
- Forks
- 295
- Ø Merge
- 9 Std. 29 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus evstack/ev-node
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
needs-triage
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
DA subscriber: inline rollback does not wake catch-upEvtl. vergeben @damiannolan hat das heute übernommen. Offenneeds-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
Maintainer antworten meist innerhalb von 1 Tag
-
DA follower: split-namespace height counted as done before its other namespace is processedEvtl. vergeben @damiannolan hat das heute übernommen. Offenneeds-triage
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in evstack/ev-node
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 3 Tagen
-
agent:ready
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
turbot/flowpipe#1162 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsEvtl. vergeben @weirong-ui hat das heute übernommen. Offenkind/bug needs-priority needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
kubernetes-sigs/karpenter#3728 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
compaction: redundant exclusion checks after inRangeEvtl. vergeben @moodbased hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag