CVE-2024-32498: [OSSA-2024-001] OpenStack Cinder, Glance, Nova: Arbitrary file access through custom QCOW2 external data (CVE-2024-32498)
A flaw was found in the OpenStack Compute (nova), Block Storage (cinder) and Image (glance) services in the way user-uploaded image files are validated through QEMU disk image utility (qemu-img). A QCOW2 or VMDK disk image containing a maliciously crafted reference could lead to an information disclosure vulnerability where the user can effectively read any file on the compute host that QEMU is allowed to read, potential file overwrite and unbounded memory/CPU consumption.
Other sources
An issue was discovered in OpenStack Cinder through 24.0.0, Glance before 28.0.2, and Nova before 29.0.3. Arbitrary file access can occur via custom QCOW2 external data. By supplying a crafted QCOW2 image that references a specific data file path, an authenticated user may convince systems to return a copy of that file's contents from the server, resulting in unauthorized access to potentially sensitive data. All Cinder and Nova deployments are affected; only Glance deployments with image conversion enabled are affected.
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/cinderto a version that resolves this vulnerability.Fixed in 2:21.3.1-1~deb12u1 - Upgrade
Upgrade
debian/cinderto a version that resolves this vulnerability.Fixed in 2:24.0.0-5 - Upgrade
Upgrade
debian/glanceto a version that resolves this vulnerability.Fixed in 2:25.1.0-2+deb12u1 - Upgrade
Upgrade
debian/glanceto a version that resolves this vulnerability.Fixed in 2:28.0.1-3+deb12u1 - Upgrade
Upgrade
debian/novato a version that resolves this vulnerability.Fixed in 2:26.2.2-1~deb12u3 - Upgrade
Upgrade
debian/novato a version that resolves this vulnerability.Fixed in 2:29.0.2-4 - Upgrade
Upgrade
debian/cinderto a version that resolves this vulnerability.Fixed in 2:17.4.0-1~deb11u2Fixed in 2:21.3.1-1~deb12u1Fixed in 2:24.0.0-5 - Upgrade
Upgrade
debian/glanceto a version that resolves this vulnerability.Fixed in 2:21.1.0-1+deb11u2Fixed in 2:25.1.0-2+deb12u1Fixed in 2:28.0.1-3+deb12u1 - Upgrade
Upgrade
debian/novato a version that resolves this vulnerability.Fixed in 2:22.4.0-1~deb11u5Fixed in 2:26.2.2-1~deb12u3Fixed in 2:29.0.2-4 - Upgrade
Upgrade
ubuntu/glanceto a version that resolves this vulnerability.Fixed in 2:12.0.0-0ubuntu2+esm1 - Upgrade
Upgrade
ubuntu/glanceto a version that resolves this vulnerability.Fixed in 2:16.0.1-0ubuntu1.1+esm2 - Upgrade
Upgrade
ubuntu/cinderto a version that resolves this vulnerability.Fixed in 2:16.4.2-0ubuntu2.8 - Upgrade
Upgrade
ubuntu/glanceto a version that resolves this vulnerability.Fixed in 2:20.2.0-0ubuntu1.2 - Upgrade
Upgrade
ubuntu/novato a version that resolves this vulnerability.Fixed in 2:21.2.4-0ubuntu2.8 - Upgrade
Upgrade
ubuntu/cinderto a version that resolves this vulnerability.Fixed in 2:20.3.1-0ubuntu1.4 - Upgrade
Upgrade
ubuntu/glanceto a version that resolves this vulnerability.Fixed in 2:24.2.1-0ubuntu1.2 - Upgrade
Upgrade
ubuntu/novato a version that resolves this vulnerability.Fixed in 3:25.2.1-0ubuntu2.3 - Upgrade
Upgrade
ubuntu/cinderto a version that resolves this vulnerability.Fixed in 2:24.0.0-0ubuntu1.2 - Upgrade
Upgrade
ubuntu/glanceto a version that resolves this vulnerability.Fixed in 2:28.0.1-0ubuntu1.2 - Upgrade
Upgrade
ubuntu/novato a version that resolves this vulnerability.Fixed in 3:29.0.1-0ubuntu1.3 - Upgrade
Upgrade
OpenStack Glanceto a version that resolves this vulnerability.Fixed in 28.0.2 - Upgrade
Upgrade
OpenStack Novato a version that resolves this vulnerability.Fixed in 29.0.3
Event History
Frequently Asked Questions
What is the severity of CVE-2024-32498?
CVE-2024-32498 is considered a medium severity vulnerability as it allows arbitrary file access through crafted QCOW2 images.
How do I fix CVE-2024-32498?
To fix CVE-2024-32498, upgrade to Cinder version 2:17.4.0 or later, Glance version 2:21.1.0 or later, or Nova version 2:22.4.0 or later.
Who is affected by CVE-2024-32498?
CVE-2024-32498 affects users of OpenStack Cinder versions up to 24.0.0, Glance up to 28.0.1, and Nova up to 29.0.2.
What types of systems are impacted by CVE-2024-32498?
CVE-2024-32498 impacts systems leveraging OpenStack cloud infrastructure components that allow for custom QCOW2 external data.
What exploitation method is used in CVE-2024-32498?
CVE-2024-32498 can be exploited by an authenticated user through a specially crafted QCOW2 image that references arbitrary file paths.