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_app をフォロー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。