CVE-2025-46717 Affecting rust-sudo-rs package, versions <0.2.8-1ubuntu2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-RUSTSUDORS-13916088
  • published13 Nov 2025
  • disclosed12 May 2025

Introduced: 12 May 2025

CVE-2025-46717  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 rust-sudo-rs to version 0.2.8-1ubuntu2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-sudo-rs package and not the rust-sudo-rs package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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 &lt;pathname&gt;. 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.