CVE-2025-57852
Openshift-ai: privilege escalation via excessive /etc/passwd permissions
A container privilege escalation flaw was found in KServe ModelMesh container 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.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Productos afectados
Red Hat · Red Hat OpenShift AI 2.16Red Hat · Red Hat OpenShift AI 2.19Red Hat · Red Hat OpenShift AI 2.21Red Hat · Red Hat OpenShift AI 2.22Red Hat · Red Hat OpenShift AI 2.24¿Quieres saber si tu infraestructura está expuesta a esto?
Hablar con TrueHacking →Referencias
https://access.redhat.com/errata/RHSA-2025:16981https://access.redhat.com/errata/RHSA-2025:16982https://access.redhat.com/errata/RHSA-2025:16983https://access.redhat.com/errata/RHSA-2025:16984https://access.redhat.com/errata/RHSA-2025:17501https://access.redhat.com/security/cve/CVE-2025-57852https://bugzilla.redhat.com/show_bug.cgi?id=2391105