CVE-2025-57852
A container privilege escalation flaw was found in KServe ModelMesh …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2025:16981
- access.redhat.com/errata/RHSA-2025:16982
- access.redhat.com/errata/RHSA-2025:16983
- access.redhat.com/errata/RHSA-2025:16984
- access.redhat.com/errata/RHSA-2025:17501
- access.redhat.com/security/cve/CVE-2025-57852
- bugzilla.redhat.com/show_bug.cgi?id=2391105
- nvd.nist.gov/vuln/detail/CVE-2025-57852
- cve.org/CVERecord?id=CVE-2025-57852
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.