CyberRota Analysis
AI-GeneratedThe Russh SSH client and server library prior to version 0.63.1 is vulnerable to a connection misconfiguration that allows a remote peer to exploit MAC negotiation issues, leading to a panic and termination of the connection task. This vulnerability could be exploited in scenarios where mac=none is permitted, potentially disrupting service for users. Organizations utilizing Russh should prioritize upgrading to version 0.63.1 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Russh is a Rust SSH client and server library. Prior to 0.63.1, a connection configured to permit mac=none can negotiate it with a MAC-requiring CTR or CBC block cipher because the selection logic validates needs_mac() only when MAC selection fails. A remote peer can then send a packet with a decrypted length of zero, causing russh/src/cipher/mod.rs to shrink the previously read block before indexing buffer.buffer[16..], which panics and terminates the connection task. This issue is fixed in version 0.63.1.