UBUNTU-CVE-2025-46718

Source
https://ubuntu.com/security/CVE-2025-46718
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-46718.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-46718
Related
Published
2025-05-12T15:16:00Z
Modified
2025-06-02T17:34:58Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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

Ubuntu:24.10 / rust-sudo-rs

Package

Name
rust-sudo-rs
Purl
pkg:deb/ubuntu/rust-sudo-rs@0.2.3-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.2.2-1
0.2.3-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / rust-sudo-rs

Package

Name
rust-sudo-rs
Purl
pkg:deb/ubuntu/rust-sudo-rs@0.2.2-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.2.1-1
0.2.1-2
0.2.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / rust-sudo-rs

Package

Name
rust-sudo-rs
Purl
pkg:deb/ubuntu/rust-sudo-rs@0.2.4-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.2.3-1
0.2.4-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}