Vulnerability · Published May 12, 2025 · Assigned by GitHub_M
CVE-2025-46717sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
Low 3.3
In plain English
A low-severity security flaw in sudo-rs from trifectatechfoundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list <pathname>`. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | rust-sudo-rs | 0.2.5-5 | DEBIAN-CVE-2025-46717 |
| Debian:14 | rust-sudo-rs | 0.2.5-5 | DEBIAN-CVE-2025-46717 |
| Ubuntu:24.04:LTS | rust-sudo-rs | no fix listed | UBUNTU-CVE-2025-46717 |
| Ubuntu:25.10 | rust-sudo-rs | 0.2.8-1ubuntu2 | UBUNTU-CVE-2025-46717 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| trifectatechfoundation | sudo-rs | < 0.2.6 |
Weakness: CWE-497 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N