Vulnerability GHSA-c978-wq47-pvvw

Low Risk
LOW RISK
CVSS Score: 3.8
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
11 months ago
November 12, 2025 at 09:30 PM UTC
sudo-rs: Partial password reveal is possible after timeout
0.2.7 - 0.2.9
0.2.7 - 0.2.9

Summary

sudo-rs: Partial password reveal is possible after timeout

Details

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.

Impacted packages

Timeline

Published
11 months ago
November 12, 2025 at 09:30 PM UTC
Fixed (0.2.10)
11 months ago
November 10, 2025 at 12:57 PM UTC
Last Modified
11 months ago
November 15, 2025 at 03:13 AM UTC