CVE-2025-23196

Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition

Published Jan 21, 2025 CVSS 3.1 · 8.8 High EPSS 1.3% KEV · Not listed
Description
A code injection vulnerability exists in the Ambari Alert Definition
feature, allowing authenticated users to inject and execute arbitrary
shell commands. The vulnerability arises when defining alert scripts,
where the script filename field is executed using `sh -c`. An attacker
with authenticated access can exploit this vulnerability to inject
malicious commands, leading to remote code execution on the server. The
issue has been fixed in the latest versions of Ambari.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-3140 A code injection vulnerability exists in the Ambari Alert Definition feature, allowing authenticated users to inject and execute arbitrary shell commands. The vulnerability arises when defining alert scripts, where the script filename field is executed using `sh -c`. An attacker with authenticated access can exploit this vulnerability to inject malicious commands, leading to remote code execution on the server. The issue has been fixed in the latest versions of Ambari.
History
Type Values Removed Values Added
First Time appeared Apache
Apache ambari
CPEs cpe:2.3:a:apache:ambari:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache ambari
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A code injection vulnerability exists in the Ambari Alert Definition feature, allowing authenticated users to inject and execute arbitrary shell commands. The vulnerability arises when defining alert scripts, where the script filename field is executed using `sh -c`. An attacker with authenticated access can exploit this vulnerability to inject malicious commands, leading to remote code execution on the server. The issue has been fixed in the latest versions of Ambari.
Title Apache Ambari: Code Injection Vulnerability in Ambari Alert Definition
Weaknesses CWE-77
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 3, 2025, 8:22 AM
Reserved
Jan 13, 2025, 2:43 PM
Status
Analyzed
Published
Jan 21, 2025, 10:15 PM
Modified
Jun 17, 2026, 8:52 AM