3.3
CWE
497
Advisory Published
Updated

CVE-2025-46718: sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others

First published: Mon May 12 2025(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
sudo-rs<0.2.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-46718?

    CVE-2025-46718 is considered to have moderate severity due to its potential to expose user privilege information.

  • How do I fix CVE-2025-46718?

    To fix CVE-2025-46718, upgrade to version 0.2.6 or later of the sudo-rs software.

  • Who is affected by CVE-2025-46718?

    Users with limited sudo privileges on versions prior to 0.2.6 of sudo-rs are affected by CVE-2025-46718.

  • What does the CVE-2025-46718 vulnerability allow?

    CVE-2025-46718 allows users with limited sudo privileges to list the sudo privileges of other users using the -U flag.

  • When was CVE-2025-46718 disclosed?

    CVE-2025-46718 was disclosed prior to the release of version 0.2.6 of sudo-rs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203