Red Hat MIRROR-REGISTRY-2.0-RHEL-8
Mirror-registry: local privilege escalation due to incorrect permissions in mirror-registry
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2
Fixed in 2
Fixed in v2.0.7-9
Mitigation
Upgrade the affected product to 2 or later.
Upgrade MIRROR-REGISTRY-2.0-RHEL-8 to v2.0.7-9 or later.
Workaround
This issue can be mitigated by setting this line in each mirror registry systemd configurations: --security-opt=no-new-privileges This would prevent any privilege escalation until the issue is fixed.
References
- Vendor advisory access.redhat.com/errata/RHBA-2025:9645
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.