CVE-2025-58712
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
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 6.4
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.21%
- Percentil entre todas las CVEs puntuadas: 9
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-276
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2025-58712",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-58712",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-10-22T18:25:27.188744Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "secalert@redhat.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 6.4,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "HIGH",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 0.5
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "apache",
"product": "activemq-artemis",
"versions": [
{
"status": "unaffected",
"version": "0",
"lessThan": "*",
"versionType": "semver"
}
],
"packageName": "activemq-artemis",
"collectionURL": "https://github.com/apache/activemq-artemis",
"defaultStatus": "unknown"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7/amq-broker-init-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7/amq-broker-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7/amq-broker-rhel9-operator",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7/amq-broker-rhel9-operator-bundle",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7-tech-preview/amq-broker-console-plugin-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:rhosemc:1.0::el9"
],
"vendor": "Red Hat",
"product": "RHEL-9 based Middleware Containers",
"versions": [
{
"status": "unaffected",
"version": "7.13.2-1",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "amq7-tech-preview/amq-broker-jolokia-api-server-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:amq_broker:7"
],
"vendor": "Red Hat",
"product": "Red Hat AMQ Broker 7",
"packageName": "amq-broker-init-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:amq_broker:7"
],
"vendor": "Red Hat",
"product": "Red Hat AMQ Broker 7",
"packageName": "amq-broker-init-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:amq_broker:7"
],
"vendor": "Red Hat",
"product": "Red Hat AMQ Broker 7",
"packageName": "amq-broker-rhel8",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:amq_broker:7"
],
"vendor": "Red Hat",
"product": "Red Hat AMQ Broker 7",
"packageName": "amq-broker-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-22T19:15:34.270",
"references": [
{
"url": "https://access.redhat.com/errata/RHSA-2025:17562",
"source": "secalert@redhat.com"
},
{
"url": "https://access.redhat.com/security/cve/CVE-2025-58712",
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2394418",
"source": "secalert@redhat.com"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "secalert@redhat.com",
"description": [
{
"lang": "en",
"value": "CWE-276"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"lastModified": "2026-06-17T09:44:46.797",
"sourceIdentifier": "secalert@redhat.com"
}