high7.1No CVE yet
GHSA-jq8x-v7jw-v675
Duplicate Advisory: users may append `root` to group listings
Impact
### 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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | users | >= 0.8.0, <= 0.11.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-jq8x-v7jw-v675
- https://nvd.nist.gov/vuln/detail/CVE-2025-5791
- https://github.com/ogham/rust-users/issues/44
- https://access.redhat.com/security/cve/CVE-2025-5791
- https://bugzilla.redhat.com/show_bug.cgi?id=2370001
- https://crates.io/crates/users
- https://rustsec.org/advisories/RUSTSEC-2025-0040.html
- https://access.redhat.com/errata/RHSA-2025:12359