Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-45219

HIGH 8.5EPSS 82%

Apache CloudStack: Uploaded and registered templates and volumes can be used to abuse KVM-based infrastructure

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Apache Software Foundation Apache CloudStack >= 4.0.0, <= 4.18.2.3; >= 4.19.0.0, <= 4.19.1.1

Vulnerability facts

Affected
Apache Software Foundation Apache CloudStack >= 4.0.0, <= 4.18.2.3; >= 4.19.0.0, <= 4.19.1.1
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
2.10% chance of exploitation in 30 days (percentile 82, 2026-11-26)
CWE
CWE-20
Published
Modified

Description

Account users in Apache CloudStack by default are allowed to upload and register templates for deploying instances and volumes for attaching them as data disks to their existing instances. Due to missing validation checks for KVM-compatible templates or volumes in CloudStack 4.0.0 through 4.18.2.3 and 4.19.0.0 through 4.19.1.1, an attacker that can upload or register templates and volumes, can use them to deploy malicious instances or attach uploaded volumes to their existing instances on KVM-based environments and exploit this to gain access to the host filesystems that could result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of KVM-based infrastructure managed by CloudStack. Users are recommended to upgrade to Apache CloudStack 4.18.2.4 or 4.19.1.2, or later, which addresses this issue. Additionally, all user-uploaded or registered KVM-compatible templates and volumes can be scanned and checked that they are flat files that should not be using any additional or unnecessary features. For example, operators can run this on their secondary storage(s) and inspect output. An empty output for the disk being validated means it has no references to the host filesystems; on the other hand, if the output for the disk being validated is not empty, it might indicate a compromised disk. for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info. If the output is not empty, that might indicate a compromised disk; check it carefully."; qemu-img info -U $file | grep file: ; printf "\n\n"; done The command can also be run for the file-based primary storages; however, bear in mind that (i) volumes created from templates will have references for the templates at first and (ii) volumes can be consolidated while migrating, losing their references to the templates. Therefore, the command execution for the primary storages can show both false positives and false negatives. For checking the whole template/volume features of each disk, operators can run the following command: for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info."; qemu-img info -U $file; printf "\n\n"; done

Affected and fixed versions

Package / productAffectedFixedSource
Apache Software Foundation Apache CloudStack>= 4.0.0, <= 4.18.2.3; >= 4.19.0.0, <= 4.19.1.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-45219. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-45219.md
Affected: Apache Software Foundation Apache CloudStack >= 4.0.0, <= 4.18.2.3; >= 4.19.0.0, <= 4.19.1.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache CloudStack: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-45219 being exploited?

There is no confirmed exploitation: CVE-2024-45219 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.10% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-45219?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-45219?

Apache Software Foundation Apache CloudStack >= 4.0.0, <= 4.18.2.3; >= 4.19.0.0, <= 4.19.1.1.

Is there a fix for CVE-2024-45219?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-45219?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors