Skip to content

Commit dda1da1

Browse files
1 parent f6217f9 commit dda1da1

3 files changed

Lines changed: 98 additions & 57 deletions

File tree

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-jq8x-v7jw-v675",
4+
"modified": "2025-06-06T23:16:21Z",
5+
"published": "2025-06-06T15:30:53Z",
6+
"withdrawn": "2025-06-06T23:16:21Z",
7+
"aliases": [],
8+
"summary": "Duplicate Advisory: users may append `root` to group listings",
9+
"details": "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-m65q-v92h-cm7q. This link is maintained to preserve external references.\n\n### Original Description\nA 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.",
10+
"severity": [
11+
{
12+
"type": "CVSS_V3",
13+
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
14+
}
15+
],
16+
"affected": [
17+
{
18+
"package": {
19+
"ecosystem": "crates.io",
20+
"name": "users"
21+
},
22+
"ranges": [
23+
{
24+
"type": "ECOSYSTEM",
25+
"events": [
26+
{
27+
"introduced": "0.8.0"
28+
},
29+
{
30+
"last_affected": "0.11.0"
31+
}
32+
]
33+
}
34+
]
35+
}
36+
],
37+
"references": [
38+
{
39+
"type": "ADVISORY",
40+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5791"
41+
},
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/ogham/rust-users/issues/44"
45+
},
46+
{
47+
"type": "WEB",
48+
"url": "https://access.redhat.com/security/cve/CVE-2025-5791"
49+
},
50+
{
51+
"type": "WEB",
52+
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370001"
53+
},
54+
{
55+
"type": "WEB",
56+
"url": "https://crates.io/crates/users"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0040.html"
61+
}
62+
],
63+
"database_specific": {
64+
"cwe_ids": [
65+
"CWE-266"
66+
],
67+
"severity": "HIGH",
68+
"github_reviewed": true,
69+
"github_reviewed_at": "2025-06-06T23:16:21Z",
70+
"nvd_published_at": "2025-06-06T14:15:23Z"
71+
}
72+
}

advisories/github-reviewed/2025/06/GHSA-m65q-v92h-cm7q/GHSA-m65q-v92h-cm7q.json

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-m65q-v92h-cm7q",
4-
"modified": "2025-06-05T01:17:29Z",
4+
"modified": "2025-06-06T23:16:38Z",
55
"published": "2025-06-05T01:17:28Z",
6-
"aliases": [],
6+
"aliases": [
7+
"CVE-2025-5791"
8+
],
79
"summary": "users may append `root` to group listings",
810
"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)",
9-
"severity": [],
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
15+
}
16+
],
1017
"affected": [
1118
{
1219
"package": {
@@ -29,10 +36,22 @@
2936
}
3037
],
3138
"references": [
39+
{
40+
"type": "ADVISORY",
41+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5791"
42+
},
3243
{
3344
"type": "WEB",
3445
"url": "https://github.com/ogham/rust-users/issues/44"
3546
},
47+
{
48+
"type": "WEB",
49+
"url": "https://access.redhat.com/security/cve/CVE-2025-5791"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370001"
54+
},
3655
{
3756
"type": "PACKAGE",
3857
"url": "https://github.com/ogham/rust-users"
@@ -43,8 +62,10 @@
4362
}
4463
],
4564
"database_specific": {
46-
"cwe_ids": [],
47-
"severity": "MODERATE",
65+
"cwe_ids": [
66+
"CWE-266"
67+
],
68+
"severity": "HIGH",
4869
"github_reviewed": true,
4970
"github_reviewed_at": "2025-06-05T01:17:28Z",
5071
"nvd_published_at": null

advisories/unreviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)