GHSA-jq8x-v7jw-v675: Duplicate Advisory: users may append `root` to group listings
(updated )
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-m65q-v92h-cm7q. This link is maintained to preserve external references.
Original 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.
References
- access.redhat.com/errata/RHSA-2025:12359
- access.redhat.com/security/cve/CVE-2025-5791
- bugzilla.redhat.com/show_bug.cgi?id=2370001
- crates.io/crates/users
- github.com/advisories/GHSA-jq8x-v7jw-v675
- github.com/ogham/rust-users/issues/44
- nvd.nist.gov/vuln/detail/CVE-2025-5791
- rustsec.org/advisories/RUSTSEC-2025-0040.html
Code Behaviors & Features
Detect and mitigate GHSA-jq8x-v7jw-v675 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →