Container Privilege Escalation Vulnerability in AMQ Broker by Red Hat
CVE-2025-58712
5.2MEDIUM
Key Information:
- Vendor
Red Hat
- Vendor
- CVE Published:
- 22 October 2025
What is CVE-2025-58712?
A privilege escalation vulnerability exists in specific AMQ Broker images due to the creation of the /etc/passwd file with group-writable permissions during the build process. Under particular conditions, an attacker with command execution ability within an affected container, even as a non-root user, could exploit their group membership to manipulate the /etc/passwd file. This exploitation may facilitate the addition of a user with arbitrary UID, including UID 0, granting the attacker full root access within the container environment.
Affected Version(s)
RHEL-9 based Middleware Containers 7.13.2-1
RHEL-9 based Middleware Containers 7.13.2-1
RHEL-9 based Middleware Containers 7.13.2-1
References
CVSS V3.1
Score:
5.2
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
High
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Antony Di Scala and Mike Whale for reporting this issue.