CVE-2025-57854
MediumCVSS 6.4Exploitation Probability (EPSS)
Low risk4th percentile - higher than 4% of all known CVEs
Summary
A container privilege escalation flaw was found in certain OpenShift Update Service (OSUS) images. The /etc/passwd file is created with group-writable permissions during build time. An attacker with command execution in the container, even as non-root, can leverage root group membership to modify /etc/passwd and add a user with UID 0, gaining full root privileges.
Risk Assessment
An attacker can gain full control over the container, potentially compromising other containers or the host if the container has appropriate capabilities.
Recommendation
Update OpenShift Update Service (OSUS) images to a version where /etc/passwd has correct permissions.
Original NVD description (English source)
A container privilege escalation flaw was found in certain OpenShift Update Service (OSUS) 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, may be able to 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.

