RUSTSEC-2026-0538: Receive loop can spin after a truncated datagram
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
- 1/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- networking
Direção de pesquisa
The issue describes a fix in the quinn-udp receive loop, already included in versions 0.5.16 and 0.6.3. Read the linked commit to identify the changed files and tests, then check whether ev-node still uses an affected version. The work is done if its dependency is no longer exposed to the described receive-loop bug.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
| Details | |
|---|---|
| Package | quinn-udp |
| Version | 0.5.14 |
| URL | https://github.com/quinn-rs/quinn/commit/462865a6c33039c26076f7077c7cd7e2f997b9cd |
| Patched Versions | >=0.5.16, <0.6.0 OR >=0.6.3 |
| Aliases | GHSA-6pp4-4cxf-xf88 |
Some targets read one datagram per recvmsg call instead of using recvmmsg: Apple platforms without the fast-apple-datapath feature, OpenBSD, NetBSD, Solaris and illumos, and from 0.6 also DragonFly BSD, Redox and GNU/Hurd. On these targets the receive loop set up its msghdr only once and looked at the MSG_TRUNC flag before checking whether recvmsg had failed. After a datagram larger than the receive buffer was dropped, a following EAGAIN still saw the old truncation flag. The loop then kept issuing non-blocking receives instead of returning WouldBlock.
When the receive buffer is smaller than a datagram that arrives, a remote sender can keep the task that drives the socket busy, before any QUIC packet authentication. The loop ends only when a later datagram fits in the buffer. Whether an application is exposed therefore depends on the receive buffer size it uses. Linux, Android, FreeBSD and Windows use other receive paths and are not affected.
The fix rebuilds the header before every recvmsg call and returns receive errors before checking the truncation flag. It is in 0.5.16 and 0.6.3.
- 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