CVE Database
/

CVE-2025-58712

Back to search

CVE-2025-58712

Published: Oct 22, 2025

Modified: Mar 6, 2026

PUBLISHED

CVSS v3.1

6.4

MEDIUM

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.

VendorProductVersions

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

Local

Attack Complexity

High

Privileges Required

High

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

High

References

RHSA-2025:17562
vendor-advisory
x_refsource_REDHAT
RHBZ#2394418
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now