{"id":"CVE-2024-51941","state":"PUBLISHED","title":"Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts","description":"A remote code injection vulnerability exists in the Ambari Metrics and \nAMS Alerts feature, allowing authenticated users to inject and execute \narbitrary code. The vulnerability occurs when processing alert \ndefinitions, where malicious input can be injected into the alert script\n execution path. An attacker with authenticated access can exploit this \nvulnerability to execute arbitrary commands on the server. The issue has\n been fixed in the latest versions of Ambari.","publishedAt":"2025-01-21T21:24:23.360Z","updatedAt":"2025-09-03T08:07:55.364Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Ambari"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ambari","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.7.8","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/xq50nlff7o7z1kq3y637clzzl6mjhl8j","http://www.openwall.com/lists/oss-security/2025/01/21/9"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/51xxx/CVE-2024-51941.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-51941","state":"PUBLISHED","datePublished":"2025-01-21T21:24:23.360Z","dateUpdated":"2025-09-03T08:07:55.364Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2024-11-04T11:47:16.721Z"},"containers":{"cna":{"title":"Apache Ambari: Remote Code Injection in Ambari Metrics and AMS Alerts","descriptions":[{"lang":"en","value":"A remote code injection vulnerability exists in the Ambari Metrics and \nAMS Alerts feature, allowing authenticated users to inject and execute \narbitrary code. The vulnerability occurs when processing alert \ndefinitions, where malicious input can be injected into the alert script\n execution path. An attacker with authenticated access can exploit this \nvulnerability to execute arbitrary commands on the server. The issue has\n been fixed in the latest versions of Ambari."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ambari","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.7.8","versionType":"semver"}]}],"references":[{"url":"https://lists.apache.org/thread/xq50nlff7o7z1kq3y637clzzl6mjhl8j","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2025-09-03T08:07:55.364Z"},"credits":[{"lang":"en","type":"finder","value":"4ra1n (https://github.com/4ra1n)"},{"lang":"en","type":"reporter","value":"h4cking2thegate@gmail.com"}],"source":{"defect":["AMBARI-26202"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/01/21/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-01-21T23:02:41.810Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-22T14:45:35.332834Z","id":"CVE-2024-51941","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-22T14:46:09.923Z"}}]}}}