Vulnerability · Published Jun 6, 2025 · Assigned by redhat

CVE-2025-5791Users: `root` appended to group listings

High 7.1

In plain English

A high-severity security flaw in rust-users. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities).

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.2%top 89.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSrust-usersno fix listedUBUNTU-CVE-2025-5791
Ubuntu:24.04:LTSrust-usersno fix listedUBUNTU-CVE-2025-5791

Affected products (as reported)

Weakness: CWE-266 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References