{"schemaVersion":3,"id":"CVE-2024-38346","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\n\nUsers 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.","dates":{"published":"2024-07-05T13:40:57.246Z","modified":"2025-02-13T17:53:05.631Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03301,"percentile":0.88372,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03301},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03301,"percentile":0.88372}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03301,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03301,"percentile":0.88372}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"apache software foundation","product":"apache cloudstack","name":"Apache CloudStack","label":"apache cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, ≤ 4.18.2.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.19.0.0, ≤ 4.19.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, ≤ 4.18.2.0 | ≥ 4.19.0.0, ≤ 4.19.0.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_cloudstack"},{"vendor":"apache","product":"cloudstack","name":"cloudstack","label":"cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.18.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.19.0.0, < 4.19.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.0.0, < 4.18.2.1 | ≥ 4.19.0.0, < 4.19.0.2","eol":null,"hubHref":"/vendor/apache/cloudstack"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1","label":"lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1","hostname":"lists.apache.org","tags":["Vendor Advisory","Mailing List"]},{"url":"https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1","label":"cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1","hostname":"cloudstack.apache.org","tags":["Vendor Advisory","Patch","Release Notes"]},{"url":"https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/","label":"www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2","hostname":"www.shapeblue.com","tags":["Third Party Advisory","Release Notes"]},{"url":"http://www.openwall.com/lists/oss-security/2024/07/05/1","label":"www.openwall.com/lists/oss-security/2024/07/05/1","hostname":"www.openwall.com","tags":["Mailing List"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-07-05T13:40:57.246Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T17:53:05.631Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T01:35:32.068Z","stale":false,"partial":false}}