CVE Catalog

CVE-2025-57848

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

A container privilege escalation flaw was found in certain Container-native Virtualization images. The /etc/passwd file is created with group-writable permissions during build time, allowing an attacker with non-root access to modify it and add a user with arbitrary UID, including 0, leading to full root privileges within the container.

Risk Assessment

Risk of full container compromise by an unprivileged user, potentially enabling further attacks on the infrastructure.

Recommendation

Rebuild images with correct permissions for /etc/passwd and restrict access to containers.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS