CVE-2025-46717

sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders

State
Published
Severity
3.3 Low
Published
May 12, 2025
Updated
May 12, 2025
Reserved
Apr 28, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Affected Products

ProductVersions
sudo-rstrifectatechfoundation
  • < 0.2.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.