7.1High

CVE-2025-5791Users: `root` appended to group listings

rust-users; Red Hat Red Hat OpenShift sandboxed containers 1.10; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 9 Published: (1 year ago)

Description

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.

Weakness (CWE): CWE-266

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
confidential compute attestation 1.10 —
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 9 all versions
Red Hat Red Hat OpenShift Container Platform 4 all versions
Red Hat Red Hat OpenShift sandboxed containers 1.10 all versions
Red Hat Red Hat Trusted Profile Analyzer all versions
— rust-users 0.8.0 – < 0.11.1

References and patches