CVE-2025-64170
lowpriority · track · 0EPSS 0.002 · 4 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-c978-wq47-pvvwsudo-rs: Partial password reveal is possible after timeout2025-11-12ghsa · osvUS
### Summary 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. ### Example Using sudo-rs: ``` geiger@cerberus:~$ sudo -s [sudo: authenticate] Password: sudo-rs: timed out geiger@cerberus:~$ testtesttest ``` "testtesttest" was entered at the password prompt but not confirmed by pressing return and then waiting for the timeout. ### Impact 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. ### Versions affected Passwords timeouts were added in sudo-rs 0.2.7 (with a default set to 5 minutes). ### Credits This issue was discovered and reported by @DevLaTron.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-64170cnnvd
- https://github.com/trifectatechfoundation/sudo-rs/releasesPatchcnnvd
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10cnnvd
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvwcnnvd
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10enisa_euvd
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvwenisa_euvd
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10nvd
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvwnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan