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.
Problem types
Incorrect Privilege Assignment
Product status
0.8.0 (semver) before 0.11.1
sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba (rpm) before *
Timeline
| 2025-06-03: | Reported to Red Hat. |
| 2025-01-15: | Made public. |
References
access.redhat.com/errata/RHSA-2025:12359 (RHSA-2025:12359)
access.redhat.com/security/cve/CVE-2025-5791
bugzilla.redhat.com/show_bug.cgi?id=2370001 (RHBZ#2370001)
github.com/ogham/rust-users/issues/44
rustsec.org/advisories/RUSTSEC-2025-0040.html