{"id":"CVE-2025-3528","state":"PUBLISHED","title":"Mirror-registry: local privilege escalation due to incorrect permissions in mirror-registry","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.","publishedAt":"2025-05-09T11:58:24.957Z","updatedAt":"2026-02-27T16:29:37.084Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"redhat"},"assigner":"redhat","products":["mirror-registry","Red Hat MIRROR-REGISTRY-2.0-RHEL-8","Red Hat mirror registry for Red Hat OpenShift"],"affected":[{"packageName":"mirror-registry","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2","versionType":"custom"}],"collectionURL":"https://access.redhat.com/downloads/content/686/ver=2/rhel---8/2/x86_64/product-software"},{"vendor":"Red Hat","product":"MIRROR-REGISTRY-2.0-RHEL-8","packageName":"openshift/mirror-registry-rhel8","defaultStatus":"affected","versions":[{"version":"v2.0.7-9","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:mirror_registry:2.0.0::el8"]},{"vendor":"Red Hat","product":"mirror registry for Red Hat OpenShift","packageName":"mirror-registry-container","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:mirror_registry:1"]}],"references":["https://access.redhat.com/errata/RHBA-2025:9645","https://access.redhat.com/security/cve/CVE-2025-3528","https://bugzilla.redhat.com/show_bug.cgi?id=2359143"],"weaknesses":["CWE-276"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3528.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-3528","state":"PUBLISHED","datePublished":"2025-05-09T11:58:24.957Z","dateUpdated":"2026-02-27T16:29:37.084Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2025-04-11T18:46:42.874Z"},"containers":{"cna":{"title":"Mirror-registry: local privilege escalation due to incorrect permissions in mirror-registry","descriptions":[{"lang":"en","value":"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."}],"affected":[{"packageName":"mirror-registry","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2","versionType":"custom"}],"collectionURL":"https://access.redhat.com/downloads/content/686/ver=2/rhel---8/2/x86_64/product-software"},{"vendor":"Red Hat","product":"MIRROR-REGISTRY-2.0-RHEL-8","packageName":"openshift/mirror-registry-rhel8","defaultStatus":"affected","versions":[{"version":"v2.0.7-9","status":"unaffected","lessThan":"*","versionType":"rpm"}],"collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:mirror_registry:2.0.0::el8"]},{"vendor":"Red Hat","product":"mirror registry for Red Hat OpenShift","packageName":"mirror-registry-container","defaultStatus":"affected","collectionURL":"https://catalog.redhat.com/software/containers/","cpes":["cpe:/a:redhat:mirror_registry:1"]}],"references":[{"url":"https://access.redhat.com/errata/RHBA-2025:9645","name":"RHBA-2025:9645","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-3528","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2359143","name":"RHBZ#2359143","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Important","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-276","description":"Incorrect Default Permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-02-27T16:29:37.084Z"},"datePublic":"2024-04-11T00:00:00.000Z","x_redhatCweChain":"CWE-276: Incorrect Default Permissions","workarounds":[{"lang":"en","value":"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."}],"timeline":[{"lang":"en","time":"2025-04-11T18:57:24.546Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-04-11T00:00:00.000Z","value":"Made public."}],"credits":[{"lang":"en","value":"Red Hat would like to thank Antony Di Scala and Mike Whale for reporting this issue."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-09T14:01:56.315475Z","id":"CVE-2025-3528","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-09T14:10:27.855Z"}}]}}}