Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-64170: CWE-549: Missing Password Field Masking in trifectatechfoundation sudo-rs

0
Low
VulnerabilityCVE-2025-64170cvecve-2025-64170cwe-549
Published: Wed Nov 12 2025 (11/12/2025, 20:30:14 UTC)
Source: CVE Database V5
Vendor/Project: trifectatechfoundation
Product: sudo-rs

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.

AI-Powered Analysis

AILast updated: 11/12/2025, 20:48:04 UTC

Technical Analysis

CVE-2025-64170 is a security vulnerability identified in the sudo-rs project, a Rust-based memory-safe implementation of the traditional sudo and su utilities. The flaw exists in versions from 0.2.7 up to but not including 0.2.10. When a user begins entering a password but pauses for an extended period without pressing return, a password timeout triggers. Instead of masking the password input as expected, the partially typed password characters are echoed back to the console. This behavior violates secure password input principles (CWE-549: Missing Password Field Masking). The exposure of partial passwords on screen or in terminal history files can facilitate social engineering or pass-by attacks, where an attacker physically or remotely observes the terminal to capture sensitive information. Exploitation requires local privileged user access and user interaction (typing a password). The vulnerability does not affect confidentiality through remote exploitation but poses a risk in environments where terminals are shared, monitored, or recorded. The issue was addressed and fixed in sudo-rs version 0.2.10. No known exploits are reported in the wild as of the publication date. The CVSS v3.1 score is 3.8, reflecting low severity due to the requirement for local privileged access and user interaction, but with a high confidentiality impact if exploited.

Potential Impact

For European organizations, the primary impact is the potential leakage of partial passwords during sudo-rs password entry, which could lead to credential compromise if attackers gain physical or remote access to terminals. This risk is heightened in environments with shared workstations, remote desktop sessions, or where screen content is recorded or monitored. Confidentiality is the main concern, as partial password exposure can enable social engineering or offline password guessing attacks. Integrity and availability are not directly impacted. Organizations relying on sudo-rs for privilege escalation in critical systems could face increased risk of unauthorized access if attackers leverage leaked password fragments. The vulnerability is less impactful in strictly controlled environments with individual terminal use and strong session security. However, in sectors like finance, government, or critical infrastructure within Europe, where privileged access controls are stringent, even low-severity leaks can have cascading effects. The lack of known exploits reduces immediate risk but does not eliminate the need for remediation.

Mitigation Recommendations

European organizations should upgrade all sudo-rs installations to version 0.2.10 or later to eliminate the vulnerability. Until upgrades are applied, enforce strict terminal session security policies: restrict physical and remote access to terminals, disable screen sharing or recording during password entry, and educate users to avoid pausing during password input. Implement session timeout and lock policies to minimize exposure windows. Review and sanitize shell history configurations to prevent password fragments from being stored. Consider deploying multi-factor authentication to reduce reliance on password secrecy alone. Monitor privileged user activity logs for unusual behavior that might indicate exploitation attempts. For environments where sudo-rs is critical, conduct regular audits and penetration tests focusing on terminal security and password handling. Finally, maintain awareness of updates from trifectatechfoundation and related security advisories.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-10-28T21:07:16.438Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6914f08607da5f027f55f1c2

Added to database: 11/12/2025, 8:39:34 PM

Last enriched: 11/12/2025, 8:48:04 PM

Last updated: 11/12/2025, 9:45:36 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats