CVE-2025-58712
Published: Oct 22, 2025
Modified: Mar 6, 2026
CVSS v3.1
6.4
Description
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.
| Vendor | Product | Versions |
|---|---|---|
apache | activemq-artemis | unaffected 0 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | RHEL-9 based Middleware Containers | unaffected 7.13.2-1 - < * |
Red Hat | Red Hat AMQ Broker 7 | All versions |
Red Hat | Red Hat AMQ Broker 7 | All versions |
Red Hat | Red Hat AMQ Broker 7 | All versions |
Red Hat | Red Hat AMQ Broker 7 | All versions |
Weaknesses (CWE)
CVSS v3.1 Details
CVSS v3.1 Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now