diff --git a/advisories/github-reviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json b/advisories/github-reviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json new file mode 100644 index 00000000000..28e9d1bc5ca --- /dev/null +++ b/advisories/github-reviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json @@ -0,0 +1,72 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-jq8x-v7jw-v675", + "modified": "2025-06-06T23:16:21Z", + "published": "2025-06-06T15:30:53Z", + "withdrawn": "2025-06-06T23:16:21Z", + "aliases": [], + "summary": "Duplicate Advisory: users may append `root` to group listings", + "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.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "users" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.8.0" + }, + { + "last_affected": "0.11.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5791" + }, + { + "type": "WEB", + "url": "https://github.com/ogham/rust-users/issues/44" + }, + { + "type": "WEB", + "url": "https://access.redhat.com/security/cve/CVE-2025-5791" + }, + { + "type": "WEB", + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370001" + }, + { + "type": "WEB", + "url": "https://crates.io/crates/users" + }, + { + "type": "WEB", + "url": "https://rustsec.org/advisories/RUSTSEC-2025-0040.html" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-266" + ], + "severity": "HIGH", + "github_reviewed": true, + "github_reviewed_at": "2025-06-06T23:16:21Z", + "nvd_published_at": "2025-06-06T14:15:23Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/06/GHSA-m65q-v92h-cm7q/GHSA-m65q-v92h-cm7q.json b/advisories/github-reviewed/2025/06/GHSA-m65q-v92h-cm7q/GHSA-m65q-v92h-cm7q.json index 991d109baf4..f7085b84d86 100644 --- a/advisories/github-reviewed/2025/06/GHSA-m65q-v92h-cm7q/GHSA-m65q-v92h-cm7q.json +++ b/advisories/github-reviewed/2025/06/GHSA-m65q-v92h-cm7q/GHSA-m65q-v92h-cm7q.json @@ -1,12 +1,19 @@ { "schema_version": "1.4.0", "id": "GHSA-m65q-v92h-cm7q", - "modified": "2025-06-05T01:17:29Z", + "modified": "2025-06-06T23:16:38Z", "published": "2025-06-05T01:17:28Z", - "aliases": [], + "aliases": [ + "CVE-2025-5791" + ], "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": [], + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N" + } + ], "affected": [ { "package": { @@ -29,10 +36,22 @@ } ], "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5791" + }, { "type": "WEB", "url": "https://github.com/ogham/rust-users/issues/44" }, + { + "type": "WEB", + "url": "https://access.redhat.com/security/cve/CVE-2025-5791" + }, + { + "type": "WEB", + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370001" + }, { "type": "PACKAGE", "url": "https://github.com/ogham/rust-users" @@ -43,8 +62,10 @@ } ], "database_specific": { - "cwe_ids": [], - "severity": "MODERATE", + "cwe_ids": [ + "CWE-266" + ], + "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2025-06-05T01:17:28Z", "nvd_published_at": null diff --git a/advisories/unreviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json b/advisories/unreviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json deleted file mode 100644 index 8e9b79b5abe..00000000000 --- a/advisories/unreviewed/2025/06/GHSA-jq8x-v7jw-v675/GHSA-jq8x-v7jw-v675.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-jq8x-v7jw-v675", - "modified": "2025-06-06T15:30:53Z", - "published": "2025-06-06T15:30:53Z", - "aliases": [ - "CVE-2025-5791" - ], - "details": "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.", - "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N" - } - ], - "affected": [], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5791" - }, - { - "type": "WEB", - "url": "https://github.com/ogham/rust-users/issues/44" - }, - { - "type": "WEB", - "url": "https://access.redhat.com/security/cve/CVE-2025-5791" - }, - { - "type": "WEB", - "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2370001" - }, - { - "type": "WEB", - "url": "https://crates.io/crates/users" - }, - { - "type": "WEB", - "url": "https://rustsec.org/advisories/RUSTSEC-2025-0040.html" - } - ], - "database_specific": { - "cwe_ids": [ - "CWE-266" - ], - "severity": "HIGH", - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2025-06-06T14:15:23Z" - } -} \ No newline at end of file