RUSTSEC-2026-0341: Stream reassembly memory-exhaustion guard in quinn-proto can be bypassed
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 1/5
- Tempo estimado
- Menos de uma hora
- Facilidade para iniciantes
- 20/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- networking, security
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
| 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.
- Linguagem predominante
- Go
- Estrelas
- 362
- Forks
- 295
- Merge médio
- 9h 29min
- PRs com merge (30d)
- 3
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de evstack/ev-node
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
DA subscriber: inline rollback does not wake catch-upTalvez já em andamento @damiannolan assumiu hoje. Abertaneeds-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
DA follower: split-namespace height counted as done before its other namespace is processedTalvez já em andamento @damiannolan assumiu hoje. Abertaneeds-triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 30/100
Mantenedores costumam responder em até 1 dia
Todas as issues de evstack/ev-node
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 3 dias
-
agent:ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
turbot/flowpipe#1162 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsTalvez já em andamento @weirong-ui assumiu hoje. Abertakind/bug needs-priority needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
kubernetes-sigs/karpenter#3728 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
compaction: redundant exclusion checks after inRangeTalvez já em andamento @moodbased assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia