sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
sudo-rscrates.io | < 0.2.6 | 0.2.6 |
Affected products
2- Range: < 0.2.6
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-w9q3-g4p5-5q2rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-46718ghsaADVISORY
- github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6ghsax_refsource_MISCWEB
- github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2rghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.