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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-31743 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 03 Oct 2025 11:45:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai

Thu, 02 Oct 2025 16:30:00 +0000


Thu, 02 Oct 2025 15:30:00 +0000

Type Values Removed Values Added
References

Thu, 02 Oct 2025 15:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai:2.16::el8
cpe:/a:redhat:openshift_ai:2.22::el9
References

Wed, 01 Oct 2025 09:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ai:2.19::el8
cpe:/a:redhat:openshift_ai:2.21::el9
References

Wed, 01 Oct 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Tue, 30 Sep 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Sep 2025 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Openshift-ai: privilege escalation via excessive /etc/passwd permissions
First Time appeared Redhat
Redhat openshift Ai
Weaknesses CWE-276
CPEs cpe:/a:redhat:openshift_ai
Vendors & Products Redhat
Redhat openshift Ai
References
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-10-03T11:25:45.924Z

Reserved: 2025-08-21T14:40:40.822Z

Link: CVE-2025-57852

cve-icon Vulnrichment

Updated: 2025-09-30T15:28:00.770Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-09-30T15:15:53.720

Modified: 2025-10-02T19:12:17.160

Link: CVE-2025-57852

cve-icon Redhat

Severity : Low

Publid Date: 2025-09-30T14:25:00Z

Links: CVE-2025-57852 - Bugzilla

cve-icon OpenCVE Enrichment

No data.