Exposure of System Data to an Unauthorized Control Sphere Affecting rust-sudo-rs package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (1st 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-DEBIAN13-RUSTSUDORS-10116747
  • published12 May 2025
  • disclosed12 May 2025

Introduced: 12 May 2025

NewCVE-2025-46718  (opens in a new tab)
CWE-497  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 rust-sudo-rs.

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 Debian. See How to fix? for Debian:13 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 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.