← 취약점·업데이트

보통취약점 권고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.