russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| rust:russh | >= 0.60.0, <= 0.64.1 | 0.65 |
A peer can advertise maximum packet size = 0 in its channel-open message (CHANNEL_OPEN when attacking a server, CHANNEL_OPEN_CONFIRMATION when attacking a client). russh accepts the value without validation and copies it into the channel write state, where it caps the size of every outgoing data chunk. In the AsyncWrite code path (ChannelTx::poll_writable, used by Channel::data(), Channel::make_writer() and Channel::into_stream()), a cap of 0 makes every write future stay Poll::Pending forever:…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/10/31 07:58,GitHub Advisory Database 发布了“russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Rust。CVE:CVE-2026-116774。