Missing Password Field Masking Affecting rust-sudo-rs package, versions <0.2.8-1ubuntu5.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-RUSTSUDORS-13882355
  • published12 Nov 2025
  • disclosed12 Nov 2025

Introduced: 12 Nov 2025

NewCVE-2025-64170  (opens in a new tab)
CWE-549  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 rust-sudo-rs to version 0.2.8-1ubuntu5.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-sudo-rs package and not the rust-sudo-rs package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.