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.

Severity (CVSS 3.1)3.3Low
Exploit odds (30 days)0.4%top 68.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13rust-sudo-rs0.2.5-5DEBIAN-CVE-2025-46717
Debian:14rust-sudo-rs0.2.5-5DEBIAN-CVE-2025-46717
Ubuntu:24.04:LTSrust-sudo-rsno fix listedUBUNTU-CVE-2025-46717
Ubuntu:25.10rust-sudo-rs0.2.8-1ubuntu2UBUNTU-CVE-2025-46717

Affected products (as reported)

VendorProductVersions
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

References