CVE-2025-58712

A container privilege escalation flaw was found in certain AMQ Broker 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.
Configurations

No configuration.

History

18 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Se encontró una falla de escalada de privilegios de contenedor en ciertas imágenes de AMQ Broker. Este problema se origina en la creación del archivo /etc/p4ssd con permisos de escritura para el grupo durante el tiempo de compilación. En ciertas condiciones, un atacante que puede ejecutar comandos dentro de un contenedor afectado, incluso como un usuario no-root, puede aprovechar su pertenencia al grupo root para modificar el archivo /etc/p4ssd. Esto podría permitir al atacante añadir un nuevo usuario con cualquier UID arbitrario, incluyendo UID 0, lo que lleva a privilegios de root completos dentro del contenedor.

07 Mar 2026, 00:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.2
v2 : unknown
v3 : 6.4

22 Oct 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-22 19:15

Updated : 2026-10-18 21:10


NVD link : CVE-2025-58712

Mitre link : CVE-2025-58712

CVE.ORG link : CVE-2025-58712


JSON object : View

Products Affected

No product.

CWE
CWE-276

Incorrect Default Permissions