← 漏洞与更新

高危漏洞公告Rust

russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmation

受影响

软件包受影响版本修复版本
rust:russh< 0.650.65

The agent server in russh::keys::agent::server never calls Agent::confirm before signing with a key that was added with the confirm constraint. That constraint is SSH_AGENT_CONSTRAIN_CONFIRM (RFC 9987 §5.2.7.2), which is what ssh-add -c sends. The call was replaced by a hard-coded true in 3e04597 ("Native async traits encore", #455), first released in 0.50.0-beta.12. Every release since, up to and including 0.64.1, signs requests for confirm-constrained keys without asking the Agent implementat…

在 GitHub Advisory Database 阅读

2026/10/31 07:59,GitHub Advisory Database 发布了“russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmation”(类型:漏洞公告)。严重程度为“高危”(high)。相关技术:Rust。CVE:CVE-2026-116794。