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—
ProductRust-users
PublishedJun 6, 2025
First seenJun 6, 2025
Weakness typeCWE-266CWE-266

How to fix

Update
  • rust-users0.11.1 or later

Affected products

ProductAffected versionsFixed in
rust-users0.8.0 ≤ v < 0.11.10.11.1
confidential_compute_attestation 1.10No range specified—
Red Hat Red Hat Enterprise Linux 10No range specified—
Red Hat Red Hat Enterprise Linux 9No range specified—
Red Hat Red Hat OpenShift Container Platform 4No range specified—
Red Hat Red Hat Trusted Profile AnalyzerNo 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.