CVE-2025-5791
High
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.
SeverityHigh
CVSS7.1
Exploit probability—
Product
Rust-users
PublishedJun 6, 2025
First seenJun 6, 2025
Weakness typeCWE-266CWE-266
How to fix
Update
- rust-users0.11.1 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rust-users | 0.8.0 ≤ v < 0.11.1 | 0.11.1 |
| confidential_compute_attestation 1.10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 9 | No range specified | — |
| Red Hat Red Hat OpenShift Container Platform 4 | No range specified | — |
| Red Hat Red Hat Trusted Profile Analyzer | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.