Publish GHSA-m65q-v92h-cm7q

This commit is contained in:
advisory-database[bot]
2025-06-05 01:18:46 +00:00
parent 4ac352877f
commit 090f4f6865
@@ -0,0 +1,52 @@
{
"schema_version": "1.4.0",
"id": "GHSA-m65q-v92h-cm7q",
"modified": "2025-06-05T01:17:29Z",
"published": "2025-06-05T01:17:28Z",
"aliases": [],
"summary": "users may append `root` to group listings",
"details": "Affected versions append `root` to group listings, unless the correct listing has 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 privilege 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 to 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)",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "users"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0.8.0"
},
{
"last_affected": "0.11.0"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/ogham/rust-users/issues/44"
},
{
"type": "PACKAGE",
"url": "https://github.com/ogham/rust-users"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0040.html"
}
],
"database_specific": {
"cwe_ids": [],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-06-05T01:17:28Z",
"nvd_published_at": null
}
}