← 漏洞与更新

中危漏洞公告Rust

russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)

受影响

软件包受影响版本修复版本
rust:russh>= 0.60.0, <= 0.64.10.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:…

在 GitHub Advisory Database 阅读

2026/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。