Amq: privilege escalation via excessive /etc/passwd permissions (apache activemq-artemis)

CVE-2025-58712
MEDIUM 6.4

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Deferred

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.

Faiblesses (CWE)

  • CWE-276 — Permissions par défaut incorrectes

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Produits affectés

ProduitVersions
apache · activemq-artemisunaffected 0 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · RHEL-9 based Middleware Containersunaffected 7.13.2-1 < *
Red Hat · Red Hat AMQ Broker 7
Red Hat · Red Hat AMQ Broker 7
Red Hat · Red Hat AMQ Broker 7
Red Hat · Red Hat AMQ Broker 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD