Description
Russh is a Rust SSH client & server library. Prior to version 0.60.1, a pre-authentication denial-of-service vulnerability exists in the server's keyboard-interactive authentication handler. A malicious client can crash any russh-based server that implements keyboard-interactive auth (e.g., for 2FA/TOTP) with a single malformed packet, requiring no credentials. This issue has been patched in version 0.60.1.
Problem types
CWE-770: Allocation of Resources Without Limits or Throttling
CWE-789: Memory Allocation with Excessive Size Value
Product status
References
github.com/.../russh/security/advisories/GHSA-f5v4-2wr6-hqmg
github.com/...ommit/6c3c80a9b6d60763d6227d60fa8310e57172a4d1
github.com/Eugeny/russh/releases/tag/v0.60.1