8.8high
Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.49% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
A remote code injection vulnerability exists in the Ambari Metrics and AMS Alerts feature, allowing authenticated users to inject and execute arbitrary code. The vulnerability occurs when processing alert definitions, where malicious input can be injected into the alert script execution path. An attacker with authenticated access can exploit this vulnerability to execute arbitrary commands on the server. The issue has been fixed in the latest versions of Ambari.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Ambari | up to 2.7.8 | CVE List |
| apache ambari | up to 2.7.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A remote code injection vulnerability exists in the Ambari Metrics and AMS Alerts feature, allowing authenticated users to inject and execute arbitrary code. The vulnerability occurs when processing alert definitions, where malicious input can be injected into the alert script execution path. An attacker with authenticated access can exploit this vulnerability to execute arbitrary commands on the server. The issue has been fixed in the latest versions of Ambari.
NVD (es)
Existe una vulnerabilidad de inyección de código remoto en la función Ambari Metrics y AMS Alerts, que permite a los usuarios autenticados inyectar y ejecutar código arbitrario. La vulnerabilidad se produce al procesar definiciones de alertas, donde se puede inyectar información maliciosa en la ruta de ejecución de la alerta script. Un atacante con acceso autenticado puede aprovechar esta vulnerabilidad para ejecutar comandos arbitrarios en el servidor. El problema se ha solucionado en las últimas versiones de Ambari.
References
| https://lists.apache.org/thread/xq50nlff7o7z1kq3y637clzzl6mjhl8j | vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/01/21/9 | mailing-list, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-51941 changed 2025-09-03 | CVE Terms of Use |
| NVD | CVE-2024-51941 changed 2026-06-17 | Public domain |