UBUNTU-CVE-2025-5791

Source
https://ubuntu.com/security/CVE-2025-5791
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5791.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-5791
Upstream
Published
2025-06-06T14:15:00Z
Modified
2026-01-20T18:50:36.006509Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A flaw was found in the user's crate for Rust. This vulnerability allows privilege escalation via incorrect group listing when a user or process has fewer than exactly 1024 groups, leading to the erroneous inclusion of the root group in the access list.

References

Affected packages

Ubuntu:20.04:LTS / rust-users

Package

Name
rust-users
Purl
pkg:deb/ubuntu/rust-users@0.9.1-1?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.9.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.9.1-1",
            "binary_name": "librust-users+default-dev"
        },
        {
            "binary_version": "0.9.1-1",
            "binary_name": "librust-users-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5791.json"

Ubuntu:22.04:LTS / rust-users

Package

Name
rust-users
Purl
pkg:deb/ubuntu/rust-users@0.11.0-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*
0.11.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.11.0-1",
            "binary_name": "librust-users+default-dev"
        },
        {
            "binary_version": "0.11.0-1",
            "binary_name": "librust-users-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5791.json"

Ubuntu:24.04:LTS / rust-users

Package

Name
rust-users
Purl
pkg:deb/ubuntu/rust-users@0.11.0-1?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.11.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.11.0-1",
            "binary_name": "librust-users+default-dev"
        },
        {
            "binary_version": "0.11.0-1",
            "binary_name": "librust-users-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-5791.json"