CVE-2025-57849
Description
A container privilege escalation flaw was found in certain Fuse 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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
Description fuse: privilege escalation via excessive /etc/passwd permissions Red Hat statement Red Hat Product Security has rated this vulnerability as moderate severity for affected products which run on OpenShift. The vulnerability allows for potential privilege escalation within a container, but OpenShift's default, multi-layered security posture effectively mitigates this risk. The primary…
Description
fuse: privilege escalation via excessive /etc/passwd permissions
Red Hat statement
Red Hat Product Security has rated this vulnerability as moderate severity for affected products which run on OpenShift. The vulnerability allows for potential privilege escalation within a container, but OpenShift's default, multi-layered security posture effectively mitigates this risk. The primary controls include the default Security Context Constraints (SCC), which severely limit a container's permissions from the start, and SELinux, which enforces mandatory access control to ensure strict isolation. While other container runtime environments may have different controls available and require case-by-case analysis, OpenShift's built-in defenses are designed to prevent this type of attack. Out of Box RHEL configuration isolates a single process inside a container. Unless multiple processes are packaged inside a single container, that defeats the principle behind containerization, this bug can not be used to meaningfully escalate privileges. Also, RHEL, and any common linux distributions do NOT add any additional users to the root group. The presence of the root group is strictly due to conformance with POSIX permission management requirements and can be considered to be an artifact of filesystem permission limitations.
CVSS v3: 6.4 (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H)
Package state
| Product | Package | State |
|---|---|---|
| Red Hat Fuse 7 | fuse7/fuse-java-openshift-jdk11-rhel8 | Out of support scope |
| Red Hat Fuse 7 | fuse7/fuse-java-openshift-jdk17-rhel8 | Out of support scope |
| Red Hat Fuse 7 | fuse7/fuse-java-openshift-rhel8 | Out of support scope |
| Red Hat Fuse 7 | fuse7/fuse-karaf-openshift-jdk11-rhel8 | Out of support scope |
| Red Hat Fuse 7 | fuse7/fuse-karaf-openshift-jdk17-rhel8 | Out of support scope |
| Red Hat Fuse 7 | fuse7/fuse-karaf-openshift-rhel8 | Out of support scope |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| redhat | fuse | 7.0.0 | |
References
CWEs
CWE-276
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.