{
  "id": "CVE-2025-3528",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-3528",
  "published_at": "2025-05-09T11:58:24.957Z",
  "title": "Mirror-registry: local privilege escalation due to incorrect permissions in mirror-registry",
  "vendor": "Red Hat",
  "product": "MIRROR-REGISTRY-2.0-RHEL-8",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  },
  "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 Mirror Registry. The quay-app container shipped as part of the Mirror Registry for OpenShift has write access to the `/etc/passwd`. This flaw allows a malicious actor with access to the container to modify the passwd file and elevate their privileges to the root user within that pod.",
  "cwe": "CWE-276",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 2"
        ],
        "fixed_in": [
          "2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "MIRROR-REGISTRY-2.0-RHEL-8",
        "ranges": null,
        "fixed_in": [
          "v2.0.7-9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 2 or later.",
      "Upgrade MIRROR-REGISTRY-2.0-RHEL-8 to v2.0.7-9 or later."
    ],
    "workarounds": [
      "This issue can be mitigated by setting this line in each mirror registry systemd configurations:\n\n--security-opt=no-new-privileges\n\nThis would prevent any privilege escalation until the issue is fixed."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHBA-2025:9645"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
