CVE-2025-46718

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-46718
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-46718.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-46718
Aliases
Related
Published
2025-05-12T15:16:01Z
Modified
2025-05-31T04:46:08.906516Z
Downstream
Summary
[none]
Details

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.

References

Affected packages

Debian:13 / rust-sudo-rs

Package

Name
rust-sudo-rs
Purl
pkg:deb/debian/rust-sudo-rs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.2.5-5

Affected versions

0.*

0.2.0-1
0.2.1-1
0.2.1-2
0.2.2-1
0.2.3-1
0.2.4-1
0.2.5-1
0.2.5-2
0.2.5-3
0.2.5-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/trifectatechfoundation/sudo-rs

Affected ranges

Type
GIT
Repo
https://github.com/trifectatechfoundation/sudo-rs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed