sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability.
Metrics
Affected Vendors & Products
References
History
Mon, 12 May 2025 22:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Mon, 12 May 2025 15:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability. | |
Title | sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others | |
Weaknesses | CWE-497 | |
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-05-12T14:54:24.925Z
Updated: 2025-05-12T22:06:49.474Z
Reserved: 2025-04-28T20:56:09.083Z
Link: CVE-2025-46718

Updated: 2025-05-12T21:45:14.615Z

Status : Awaiting Analysis
Published: 2025-05-12T15:16:01.397
Modified: 2025-05-12T22:15:27.057
Link: CVE-2025-46718

No data.