RUSTSEC-2026-0538: Receive loop can spin after a truncated datagram
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 新手友好度
- 1/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- rust
- 領域
- networking
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
| 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.
- 主要語言
- Go
- 星號
- 362
- 分支
- 295
- 平均合併
- 9 小時 29 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
evstack/ev-node 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
needs-triage
難度 3/5 1-2 天 新手友好度 76/100
維護者通常 1 天內回覆
-
DA subscriber: inline rollback does not wake catch-up可能已有人在做 @damiannolan 今天認領。 未關閉needs-triage
難度 2/5 1-3 小時 新手友好度 35/100
維護者通常 1 天內回覆
-
DA follower: split-namespace height counted as done before its other namespace is processed可能已有人在做 @damiannolan 今天認領。 未關閉needs-triage
難度 4/5 3-5 天 新手友好度 30/100
維護者通常 1 天內回覆
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 3 天內回覆
-
agent:ready
難度 2/5 1-3 小時 新手友好度 67/100
turbot/flowpipe#1162 · 1 則留言 ·
維護者通常 1 天內回覆
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costs可能已有人在做 @weirong-ui 今天認領。 未關閉kind/bug needs-priority needs-triage
難度 2/5 1-3 小時 新手友好度 72/100
kubernetes-sigs/karpenter#3728 · 1 則留言 ·
維護者通常 1 天內回覆
-
compaction: redundant exclusion checks after inRange可能已有人在做 @moodbased 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆