Vulnerability in Red Hat Openshift Virtualization 4
CVE-2025-57848
A container privilege escalation flaw was found in certain Container-native Virtualization 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.
EPSS: 0.002 (6.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Red Hat Openshift Virtualization 4
- Red Hat Rhel-8-cnv-4.12 — versions v4.12.21-4, v4.12.21-3, v4.12.21-21
- Red Hat Rhel-9-cnv-4.14 — versions v4.14.16-6, v4.14.16-8, v4.14.16-3
- Red Hat Rhel-9-cnv-4.17 — versions v4.17.34-1, v4.17.34.rhel9-16, v4.17.34-2
- Red Hat Rhel-9-cnv-4.18 — versions v4.18.22-1, v4.18.22.rhel9-8, v4.18.22-8
- Red Hat Rhel-9-cnv-4.19 — versions v4.19.14-1, v4.19.14.rhel9-6, v4.19.14-7
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory)
Frequently asked questions
- What is CVE-2025-57848?
- CVE-2025-57848 is a medium-severity vulnerability in Red Hat Openshift Virtualization 4, classified under Incorrect Default Permissions. CVSS score: 6.4/10. Published 2025-10-23.
- How severe is CVE-2025-57848?
- Medium severity. CVSS v3 base score is 6.4 out of 10.