{"id":"RUSTSEC-2025-0040","revision":"146ac837874b48c683470776374e8850","records":[{"revision":"146ac837874b48c683470776374e8850","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2025-0040","aliases":["CVE-2025-5791","GHSA-m65q-v92h-cm7q"],"title":"`root` appended to group listings","description":"Affected versions append `root` to group listings, unless the correct listing\nhas exactly 1024 groups.\n\nThis affects both:\n\n- The supplementary groups of a user\n- The group access list of the current process\n\nIf the caller uses this information for access control, this may lead to\nprivilege escalation.\n\nThis crate is not currently maintained, so a patched version is not available.\n\nVersions older than 0.8.0 do not contain the affected functions, so downgrading\nto them is a workaround.\n\n## Recommended alternatives\n- [`uzers`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)\n- [`sysinfo`](https://crates.io/crates/sysinfo)","state":0,"publishedAt":"2025-01-15T12:00:00+00:00","modifiedAt":"2025-10-28T06:28:57.282109+00:00","affected":[{"ecosystem":"crates.io","name":"users","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.8.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/users","https://rustsec.org/advisories/RUSTSEC-2025-0040.html","https://github.com/ogham/rust-users/issues/44"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2025-0040","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2025-0040","identifiers":["RUSTSEC-2025-0040","CVE-2025-5791","GHSA-m65q-v92h-cm7q"]},"retained":false,"historicalAffected":[]}],"coverage":[]}