CVEfocus › CVE database › CVE-2025-46717

CVE-2025-46717sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible…

CVSS 3.3 LowEPSS 0.3% (higher than 11% of CVEs)Published 2025-05-12Updated 2025-05-12Assigner: GitHub_M

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.

CWE-497

What to do

Fixed builds are available from Debian, Ubuntu, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10rust-sudo-rsFixed0.2.8-1ubuntu2UBUNTU-CVE-2025-46717
Ubuntu 24.04rust-sudo-rsFix pendingUBUNTU-CVE-2025-46717
Debian 14rust-sudo-rsFixed0.2.5-5DEBIAN-CVE-2025-46717
Debian 13rust-sudo-rsFixed0.2.5-5DEBIAN-CVE-2025-46717
crates.io librarysudo-rsFixed0.2.6GHSA-98cv-wqjx-wx8f

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.