Mirror-registry: local privilege escalation due to incorrect permissions in mirror-registry
Published May 9, 2025
8.2
HIGHCVSS 3.1
EPSS 0.23%
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.
Affected products
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||
|---|---|---|---|---|---|---|
| Red Hat | mirror registry for Red Hat OpenShift | affected |
|
No data.
No data.
MIRROR-REGISTRY-2.0-RHEL-8
openshift/mirror-registry-rhel8:v2.0.7-9
Fixed · RHBA-2025:9645
mirror registry for Red Hat OpenShift
mirror-registry-container
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| MIRROR-REGISTRY-2.0-RHEL-8 | openshift/mirror-registry-rhel8:v2.0.7-9 | Fixed | RHBA-2025:9645 |
| mirror registry for Red Hat OpenShift | mirror-registry-container | Affected | n/a |
No package ranges for this CVE.
Remediation
Vendor solution
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.
Red Hat statement
This issue was classified with and Important severity according to the severity ratings described at https://access.redhat.com/security/updates/classification. This rating was given because the attacker, when a successfully attack is performed, can elevate its privilege to the root user.
Red Hat mitigation
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 (6)
- https://access.redhat.com/errata/RHBA-2025:9645 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-3528 vdb-entryx_refsource_REDHATVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2359143 issue-trackingx_refsource_REDHATIssue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-14164 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-3528
- https://www.cve.org/CVERecord?id=CVE-2025-3528
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHBA-2025:9645 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2025-3528 | vdb-entryx_refsource_REDHATVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2359143 | issue-trackingx_refsource_REDHATIssue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-14164 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-3528 | ||
| https://www.cve.org/CVERecord?id=CVE-2025-3528 |
Change history (0)
No recorded changes yet.