Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-64170 — sudo-rs

🟢 CVSS 3.8 — Low ✅ No Known Exploit CWE-549 NVD
3.8
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

sudo-rs: Partial password reveal is possible after timeout

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.

How this vulnerability can be exploited

This issue can be reached with physical access to the device, attack complexity is high, an attacker needs administrative privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

  • Attack vector: Physical — the attacker has to touch the device.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: High — administrative rights are needed first.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: None.
  • Availability impact: None.

Weakness class

CVE-2025-64170 is classified as CWE-549: Missing Password Field Masking. The product does not mask passwords during entry, increasing the potential for attackers to observe and capture passwords.

Affected software

CVE-2025-64170 is recorded against 2 packages.

  • sudo-rs
  • unknown

Timeline and source

Published on 12 November 2025 and last revised on 15 November 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
github.com (Web)

Other advisories for this package

sudo-rs has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-549: Missing Password Field Masking) in other software:

CVE-2025-64170 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity LOW
CVSS Score 3.8
CVSS Vector CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
CWE CWE-549
Public Exploit ✅ No
Source NVD
Published 2025-11-12
Updated 2026-08-20
Modified 2025-11-15
Fix URL N/A

Affected Packages

Software From version Fixed in
sudo-rs
unknown

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2025-64170?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2025-64170 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025