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
                    Wed, 09 Jul 2025 02:00:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Trifectatech Trifectatech sudo | |
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:* | |
| Vendors & Products | Trifectatech Trifectatech sudo | 
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 
 | 
 MITRE
                        MITRE
                    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
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-05-12T21:45:14.615Z
 NVD
                        NVD
                    Status : Analyzed
Published: 2025-05-12T15:16:01.397
Modified: 2025-07-09T01:45:32.727
Link: CVE-2025-46718
 Redhat
                        Redhat
                    No data.