CVE-2024-38346: Apache CloudStack: Unauthenticated cluster service port leads to remote execution
Vulnerability summary
CVE-2024-38346 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in apache software foundation apache cloudstack. EPSS estimates a 3.30% chance of exploitation in the next 30 days, higher than 88.9% of scored vulnerabilities.
Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 05-07-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
The CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary commands on targeted hypervisors and CloudStack management server hosts. Some of these commands were found to have command injection vulnerabilities that can result in arbitrary code execution via agents on the hosts that may run as a privileged user. An attacker that can reach the cluster service on the unauthenticated port (default 9090), can exploit this to perform remote code execution on CloudStack managed hosts and result in complete compromise of the confidentiality, integrity, and availability of CloudStack managed infrastructure. Users are recommended to restrict the network access to the cluster service port (default 9090) on a CloudStack management server host to only its peer CloudStack management server hosts. Users are recommended to upgrade to version 4.18.2.1, 4.19.0.2 or later, which addresses this issue.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.30%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.30% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- cloudstack≥ 4.0.0, < 4.18.2.1 | ≥ 4.19.0.0, < 4.19.0.2
Apache software foundation1 product
- apache cloudstack≥ 4.0.0, ≤ 4.18.2.0 | ≥ 4.19.0.0, ≤ 4.19.0.1
2 vendors · 2 products
References
4 links- cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1Vendor AdvisoryPatchRelease Notes
- www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2Third Party AdvisoryRelease Notes
- www.openwall.com/lists/oss-security/2024/07/05/1Mailing List