CVE-2025-64170

sudo-rs: Partial password reveal is possible after timeout

Published Nov 12, 2025 CVSS 3.1 · 3.8 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c978-wq47-pvvw sudo-rs: Partial password reveal is possible after timeout
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sudo-rs
Sudo-rs sudo-rs
Vendors & Products Sudo-rs
Sudo-rs sudo-rs
Type Values Removed Values Added
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.
Title sudo-rs: Partial password reveal is possible after timeout
Weaknesses CWE-549
References
Metrics cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 14, 2025, 5:34 PM
Reserved
Oct 28, 2025, 9:07 PM
Status
Deferred
Published
Nov 12, 2025, 9:15 PM
Modified
Oct 18, 2026, 8:10 PM