sudo-rs: Partial password reveal is possible after timeout
Key facts
- Attack vector
- Physical
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| trifectatechfoundation | sudo-rs | 0.2.7 to before 0.2.10 | 0.2.10 | Patch available | CNA |
| — | sudo-rs (crates.io) | 0.2.7 to before 0.2.10 | 0.2.10 | Patch available | GHSA-c978-wq47-pvvw |
- sudo-rs Vendortrifectatechfoundation Affected 0.2.7 to before 0.2.10 Fixed in 0.2.10 Patch available CNA
- sudo-rs (crates.io) Vendor— Affected 0.2.7 to before 0.2.10 Fixed in 0.2.10 Patch available GHSA-c978-wq47-pvvw
Remediation
- Fix · CNA sudo-rs (trifectatechfoundation) Fixed in 0.2.10
- Fix · GHSA-c978-wq47-pvvw sudo-rs (crates.io) Fixed in 0.2.10 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-64170
- 2026-10-03 Alias added: GHSA-c978-wq47-pvvw
References
Other 4
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvw
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10
- https://github.com/trifectatechfoundation/sudo-rs/commit/0e3d3837aec3ee9fb5dcb8bfe11e8adb367f58f4
- https://github.com/trifectatechfoundation/sudo-rs
More trifectatechfoundation vulnerabilities
- TI-2025-39907 sudo-rs doesn't record authenticating user properly in timestamp CVSS 3.1MEDIUM 4.4
Sources
- CVE-2025-64170 · CVE Program
- CVE-2025-64170 · NVD
- FIRST EPSS
- GHSA-c978-wq47-pvvw · GitHub Advisory Database · CC BY 4.0
- CVE-2025-64170 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences