A russh SSH server accepts a publickey authentication whose signature uses a different algorithm than the one named in the request
影響: rust:russh >= 0.34.0-beta.1, < 0.64.0 → 0.64.0
In russh/src/server/encrypted.rs, server_read_auth_request_pk (0.63.3, around lines 880-990): The requested algorithm name (pubkey_algo) is read and only used to decode the key: PublicKeyOrCertificate::decode(&pubkey_algo, &pubkey_key). The derived hash_alg is then dropped (PublicKeyOrCertificate::PublicKey { ref key, .. }). The signature blob is decoded (Signature::decode) and verified with Verifier::verify(&pubkey, &buf, &sig). ssh-key picks the hash from the signature's own algorithm…
| CVE | CVE-2026-111062 |
|---|---|
| 情報源 | GitHub Advisory Database |
| 取得日時 | 2026/10/22 01:17 |
| データ | Markdown JSON |
2026/10/20 02:06、GitHub Advisory Databaseが「A russh SSH server accepts a publickey authentication whose signature uses a different algorithm than the one named in the request」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「注意」(low) です。関連する技術: Rust。CVE: CVE-2026-111062。