VDB

CVE-2025-5791

CVE-2025-5791 PUBLISHED CVSS 7.1 HIGH

Users: `root` appended to group listings

Reported by redhat · Published June 6, 2025

rust-users is fixed in 0.11.1 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rust-usersGitHub Packages0.11.1
userscrates.io0.11.0, 0.8.0

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
0.8.0
Red HatRed Hat OpenShift sandboxed containers 1.101.10-1753885668
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Trusted Profile Analyzer
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 10
0.8.0
crates.iousers0.8.0
Red HatRed Hat OpenShift sandboxed containers 1.101.10-1753885668
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat OpenShift sandboxed containers 1.1*
chainguardtoda*
Red HatRed Hat Trusted Profile Analyzer

Timeline

  • Jun 6, 2025 CVE Published
  • Jun 6, 2025 CVE Updated
  • Jun 7, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 9, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • Nov 5, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5791
vulnetix vdb fixes CVE-2025-5791

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5791/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›