CVE-2023-50379 — ambari-contrib-views
HIGHCVE-2023-50379 is a high-severity (CVSS 8.8) Code Injection vulnerability in org.apache.ambari.contrib.views:ambari-contrib-views. A fix is available for org.apache.ambari.contrib.views:ambari-contrib-views — see the affected versions and patch details below.
Apache Ambari: authenticated users could perform command injection to perform RCE
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-50379.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.ambari.contrib.views:ambari-contrib-viewsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Malicious code injection in Apache Ambari in prior to 2.7.8. Users are recommended to upgrade to version 2.7.8, which fixes this issue.
Impact: A Cluster Operator can manipulate the request by adding a malicious code injection and gain a root over the cluster main host.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.ambari.contrib.views:ambari-contrib-views | ≥ 2.7.0&&< 2.7.8 | 2.7.8org.apache.ambari.contrib.views:ambari-contrib-views:2.7.8 |
Affected Products
ambariapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.ambari.contrib.views:ambari-contrib-views, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.ambari.contrib.views:ambari-contrib-views to 2.7.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-50379 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2023-50379 in your dependencies?
Find it across Maven, including transitive dependencies.