CVE-2025-5791 Users: `root` appended to group listings
HighCVSS 7.1
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux kata-containers-cc(Azure Linux:3.0) | All versions | No fix listed |
| azure linux kata-containers-cc(Azure Linux:3.0) | < 3.15.0.aks0-14 | 3.15.0.aks0-14 |
| cbl-mariner kata-containers-cc(CBL-Mariner:2.0) | < 3.2.0.azl2-7 | 3.2.0.azl2-7 |
| crates.io users(crates.io) | >= 0.8.0, <= 0.11.0 | No fix listed |
| crates.io users(crates.io) | >= 0.8.0 | No fix listed |
| rust-users | >= 0.8.0, < 0.11.1 | 0.11.1 |
| redhat confidential compute attestation | < 1.10-1753885668 | 1.10-1753885668 |
| redhat enterprise linux | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift | All versions | No fix listed |
| redhat trusted profile analyzer | All versions | No fix listed |
| ubuntu/rust-users(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/rust-users(Ubuntu:24.04) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- access.redhat.com vdb-entry
- RHBZ#2370001 issue-tracking
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com
- RHSA-2025:12359 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org