GHSA-jq8x-v7jw-v675: Duplicate Advisory Users May Append `root` To Vulnerability

HIGH
CVSS 7.1
CWE-266
Published
Advisory Summary

GHSA-jq8x-v7jw-v675 is a HIGH (CVSS 7.1) users may append `root` to vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Duplicate Advisory libraries in the crates.io ecosystem. The issue involves users may append `root` to group listings. Remediation is available in the latest vendor maintenance releases.

GHSA-jq8x-v7jw-v675 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jq8x-v7jw-v675
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-266: Incorrect Privilege Assignment
Affected Product Duplicate Advisory
Package Ecosystem crates.io
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-jq8x-v7jw-v675

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

users fixed: Latest secure release
Upgrade users to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for users

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jq8x-v7jw-v675, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for users

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-m65q-v92h-cm7q. This link is maintained to preserve external references. ### Original Description 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.

GHSA-jq8x-v7jw-v675 Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
users
crates.io
≥ 0.8.0
≤ 0.11.0

References

Frequently Asked Questions

What is GHSA-jq8x-v7jw-v675?
GHSA-jq8x-v7jw-v675 is a security vulnerability in Duplicate Advisory involving users may append `root` to group listings under CWE-266: Incorrect Privilege Assignment.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: users.
What version fixes GHSA-jq8x-v7jw-v675?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is users affected?
Yes, users is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-jq8x-v7jw-v675?
GHSA-jq8x-v7jw-v675 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with GHSA-jq8x-v7jw-v675?
GHSA-jq8x-v7jw-v675 is classified under CWE-266: Incorrect Privilege Assignment (A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.).
How can I check crates.io dependencies for GHSA-jq8x-v7jw-v675?
Run the dependency tree command: 'inspect dependencies for users'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jq8x-v7jw-v675",
  "modified" : "2025-07-31T18:31:57Z",
  "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/errata/RHSA-2025:12359"
  }, {
    "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"
  }
}