{
  "id": "CVE-2025-5791",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-5791",
  "published_at": "2025-06-06T13:10:07.157Z",
  "title": "Users: `root` appended to group listings",
  "vendor": "Red Hat",
  "product": "Red Hat",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-266",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003e= 0.8.0, \u003c 0.11.1"
        ],
        "fixed_in": [
          "0.11.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift sandboxed containers 1.10",
        "ranges": null,
        "fixed_in": [
          "1.10-1753885668"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 0.11.1 or later.",
      "Upgrade Red Hat OpenShift sandboxed containers 1.10 to 1.10-1753885668 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:12359"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
