{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-5791","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","state":"PUBLISHED","assignerShortName":"redhat","dateReserved":"2025-06-06T08:09:10.242Z","datePublished":"2025-06-06T13:10:07.157Z","dateUpdated":"2025-11-20T07:41:09.666Z"},"containers":{"cna":{"title":"Users: `root` appended to group listings","metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS"}],"descriptions":[{"lang":"en","value":"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":[{"versions":[{"status":"affected","version":"0.8.0","lessThan":"0.11.1","versionType":"semver"}],"packageName":"rust-users","collectionURL":"https://github.com/ogham/rust-users/","defaultStatus":"unaffected"},{"vendor":"Red Hat","product":"Red Hat OpenShift sandboxed containers 1.1","collectionURL":"https://catalog.redhat.com/software/containers/","packageName":"openshift-sandboxed-containers/osc-rhel9-operator","defaultStatus":"affected","versions":[{"version":"sha256:a6f29da891174e57fcfd131da7aa90c50459ba24164111b83120a1b91f2eabba","lessThan":"*","versionType":"rpm","status":"unaffected"}],"cpes":["cpe:/a:redhat:confidential_compute_attestation:1.10::el9"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-ssh-key-dir","defaultStatus":"affected","cpes":["cpe:/o:redhat:enterprise_linux:10"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-afterburn","defaultStatus":"affected","cpes":["cpe:/o:redhat:enterprise_linux:9"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"kata-containers","defaultStatus":"unaffected","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rust-afterburn","defaultStatus":"affected","cpes":["cpe:/a:redhat:openshift:4"]},{"vendor":"Red Hat","product":"Red Hat Trusted Profile Analyzer","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","packageName":"rhtpa/rhtpa-trustification-service-rhel9","defaultStatus":"affected","cpes":["cpe:/a:redhat:trusted_profile_analyzer:1"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:12359","name":"RHSA-2025:12359","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-5791","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2370001","name":"RHBZ#2370001","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://crates.io/crates/users"},{"url":"https://github.com/ogham/rust-users/issues/44"},{"url":"https://rustsec.org/advisories/RUSTSEC-2025-0040.html"}],"datePublic":"2025-01-15T12:00:00.000Z","problemTypes":[{"descriptions":[{"cweId":"CWE-266","description":"Incorrect Privilege Assignment","lang":"en","type":"CWE"}]}],"x_redhatCweChain":"CWE-266: Incorrect Privilege Assignment","timeline":[{"lang":"en","time":"2025-06-03T13:02:24.781Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-01-15T12:00:00.000Z","value":"Made public."}],"providerMetadata":{"orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat","dateUpdated":"2025-11-20T07:41:09.666Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-06T13:40:43.009202Z","id":"CVE-2025-5791","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-06T13:40:47.773Z"}}]}}