← 脆弱性・アップデート

警告脆弱性アドバイザリ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。