---
cve: "CVE-2025-58712"
severity: "MEDIUM"
cvss: 6.4
epss: "19%"
vendor: "Red Hat"
kev: false
exploited: false
published: "2025-10-22 19:15:34"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T09:13:54+02:00"
---

# CVE-2025-58712

> 6.4 MEDIUM

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Hoch | good |
| PR Privilegien | Hoch | good |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Referenzen

- <https://access.redhat.com/errata/RHSA-2025:17562>
- <https://access.redhat.com/security/cve/CVE-2025-58712>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2394418>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-58712) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
