{"id":"CVE-2025-64170","aliases":["DEBIAN-CVE-2025-64170","DSA-6052-1","EUVD-2025-131955","GHSA-c978-wq47-pvvw","UBUNTU-CVE-2025-64170"],"status":"published","title":"sudo-rs: Partial password reveal is possible after timeout","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.","severity":{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0015,"percentile":0.04214,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-549"],"published":"2025-11-11T00:00:00Z","modified":"2026-10-28T02:31:13Z","fixes":[{"ecosystem":"crates.io","package":"sudo-rs","fixed_in":["0.2.10"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:13","package":"rust-sudo-rs","fixed_in":["0.2.5-5+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-sudo-rs","fixed_in":["0.2.10-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"rust-sudo-rs","fixed_in":["0.2.8-1ubuntu5.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"sudo-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.7"},{"fixed":"0.2.10"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-sudo-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.5-5+deb13u1"}]}],"versions":["0.2.5-5"]},{"source":"osv","ecosystem":"Debian:14","package":"rust-sudo-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.10-1"}]}],"versions":["0.2.5-5","0.2.9-1"]},{"source":"osv","ecosystem":"Debian:13","package":"rust-sudo-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.5-5+deb13u1"}]}],"versions":["0.2.5-5"],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"sudo-rs","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.7"},{"fixed":"0.2.10"}]}]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-sudo-rs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.8-1ubuntu5.2"}]}],"versions":["0.2.4-1","0.2.5-3ubuntu1","0.2.5-4","0.2.5-5","0.2.5-5ubuntu1","0.2.5-5ubuntu3","0.2.8-1ubuntu2","0.2.8-1ubuntu3","0.2.8-1ubuntu4","0.2.8-1ubuntu5","0.2.8-1ubuntu5.1"]}],"products":[{"vendor":"trifectatechfoundation","product":"sudo-rs"}],"references":[{"url":"https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-c978-wq47-pvvw","tags":["x_refsource_CONFIRM","advisory","web","report"]},{"url":"https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.10","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/trifectatechfoundation/sudo-rs/commit/0e3d3837aec3ee9fb5dcb8bfe11e8adb367f58f4","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64170","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c978-wq47-pvvw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64170.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-64170","tags":["advisory"]},{"url":"https://github.com/trifectatechfoundation/sudo-rs","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-64170","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-64170","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7867-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-64170","title":"sudo-rs: Partial password reveal is possible after timeout","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.","status":"published","published":"2025-11-12T20:30:14.961Z","modified":"2025-11-14T17:34:21.165Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-549"],"updated_at":"2026-11-02T14:32:46.750177Z"}],"euvd":[{"id":"EUVD-2025-131955","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.","status":"published","published":"2025-11-12T20:30:14Z","modified":"2025-11-14T17:34:21Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T19:49:16.95916Z"}],"ghsa":[{"id":"GHSA-c978-wq47-pvvw","title":"sudo-rs: Partial password reveal is possible after timeout","description":"### Summary\nIf 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.\n\n### Example\nUsing sudo-rs:\n```\ngeiger@cerberus:~$ sudo -s\n[sudo: authenticate] Password: sudo-rs: timed out\ngeiger@cerberus:~$ testtesttest\n```\n\n\"testtesttest\" was entered at the password prompt but not confirmed by pressing return and then waiting for the timeout.\n\n### Impact\nThis 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.\n\n### Versions affected\nPasswords timeouts were added in sudo-rs 0.2.7 (with a default set to 5 minutes).\n\n### Credits\nThis issue was discovered and reported by @DevLaTron.","status":"published","published":"2025-11-12T21:30:11Z","modified":"2025-11-15T03:13:08Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"cwes":["CWE-549"],"updated_at":"2026-11-02T14:39:08.983925Z"}],"nvd":[{"id":"CVE-2025-64170","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.","status":"published","published":"2025-11-12T21:15:53.433Z","modified":"2026-10-18T20:10:00.11Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-549"],"updated_at":"2026-11-02T14:11:43.650381Z"}],"osv":[{"id":"CVE-2025-64170","title":"sudo-rs: Partial password reveal is possible after timeout","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.","status":"published","published":"2025-11-12T20:30:14.961Z","modified":"2026-10-28T02:31:13.383444831Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"cwes":["CWE-549"],"updated_at":"2026-11-02T15:44:51.851511Z"},{"id":"DEBIAN-CVE-2025-64170","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.","status":"published","published":"2025-11-12T21:15:53.433Z","modified":"2026-10-23T17:47:37.319654088Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:45:47.697959Z"},{"id":"GHSA-c978-wq47-pvvw","title":"sudo-rs: Partial password reveal is possible after timeout","description":"### Summary\nIf 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.\n\n### Example\nUsing sudo-rs:\n```\ngeiger@cerberus:~$ sudo -s\n[sudo: authenticate] Password: sudo-rs: timed out\ngeiger@cerberus:~$ testtesttest\n```\n\n\"testtesttest\" was entered at the password prompt but not confirmed by pressing return and then waiting for the timeout.\n\n### Impact\nThis 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.\n\n### Versions affected\nPasswords timeouts were added in sudo-rs 0.2.7 (with a default set to 5 minutes).\n\n### Credits\nThis issue was discovered and reported by @DevLaTron.","status":"published","published":"2025-11-12T21:30:11Z","modified":"2025-11-15T03:13:07Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"cwes":["CWE-549"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"UBUNTU-CVE-2025-64170","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.","status":"published","published":"2025-11-12T21:15:00Z","modified":"2026-02-04T02:20:05.76612Z","cvss":[{"version":"3.1","score":3.8,"vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T16:55:52.345622Z"},{"id":"DSA-6052-1","title":"rust-sudo-rs - security update","status":"published","published":"2025-11-11T00:00:00Z","modified":"2025-11-11T20:17:49.033357Z","updated_at":"2026-11-02T15:46:18.296714Z"}]}}
