CVE-2025-64170 sudo-rs: Partial password reveal is possible after timeout
LowCVSS 3.8
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
Description
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io sudo-rs(crates.io) | >= 0.2.7, < 0.2.10 | 0.2.10 | Fixed |
| debian/rust-sudo-rs(Debian 13) | < 0.2.5-5+deb13u1; = 0.2.5-5 | 0.2.5-5+deb13u1 | Fixed |
| debian/rust-sudo-rs(Debian 14) | < 0.2.10-1; = 0.2.5-5; = 0.2.9-1 | 0.2.10-1 | Fixed |
| trifectatechfoundation sudo-rs | = >= 0.2.7, < 0.2.10 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io sudo-rs(crates.io) | >= 0.2.7, < 0.2.10 | 0.2.10 |
| debian/rust-sudo-rs(Debian:13) | < 0.2.5-5+deb13u1 | 0.2.5-5+deb13u1 |
| debian/rust-sudo-rs(Debian:13) | = 0.2.5-5 | No fix listed |
| debian/rust-sudo-rs(Debian:14) | < 0.2.10-1 | 0.2.10-1 |
| debian/rust-sudo-rs(Debian:14) | = 0.2.5-5 | No fix listed |
| debian/rust-sudo-rs(Debian:14) | = 0.2.9-1 | No fix listed |
| trifectatechfoundation sudo-rs | = >= 0.2.7, < 0.2.10 | No fix listed |
References
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvw vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10
- Debian Security Tracker CVE-2025-64170 vendor-advisory
- github.com