Skip to main content
← All vulnerabilities
CVE-2025-64170GHSA-C978-WQ47-PVVW

sudo-rs: Partial password reveal is possible after timeout

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

sudo-rs is a memory safe implementation of sudo and su written in Rust. Starting in version 0.2.7 and prior to version 0.2.10, if a user begins entering a password but does not press return for an extended period, a password timeout may occur. When this happens, the keystrokes that were entered are echoed back to the console. This could reveal partial password information, possibly exposing history files when not carefully handled by the user and on screen, usable for Social Engineering or Pass-By attacks. Version 0.2.10 fixes the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • trifectatechfoundation sudo-rs

    From 0.2.7 · fixed in 0.2.10

  • sudo-rscrates.io

    From 0.2.7 · fixed in 0.2.10

References 2

GitHub · trifectatechfoundation/sudo-rs