CVE-2025-57851 Mce: privilege escalation via excessive /etc/passwd permissions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- KubernetesRed Hat
Description
A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
Upgrade path
5 packages: 0 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat advanced cluster management for kubernetes | All versions | No fix listed | No fix yet |
| redhat multicluster engine | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/agent-service-rhel8(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/assisted-service-8-rhel8(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
| redhat/multicluster-engine/assisted-service-9-rhel9(Red Hat multicluster_engine) | All versions | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat multicluster engine | All versions | No fix listed |
| redhat/multicluster-engine/agent-service-rhel8(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/assisted-service-8-rhel8(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat/multicluster-engine/assisted-service-9-rhel9(Red Hat:multicluster_engine) | All versions | No fix listed |
| redhat advanced cluster management for kubernetes | All versions | No fix listed |
References
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2391104 issue-tracking vendor-advisory
- www.cve.org
- nvd.nist.gov