CVE-2024-4467
Qemu-kvm: 'qemu-img info' leads to host file read/write
Check your servers for CVE-2024-4467
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-4467 affects qemu-kvm, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A flaw was found in the QEMU disk image utility (qemu-img) 'info' command. A specially crafted image file containing a `json:{}` value describing block devices in QMP could cause the qemu-img process on the host to consume large amounts of memory or CPU time, leading to denial of service or read/write to an existing external file.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 2 Jul 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-787 Out-of-bounds Write
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
qemu
package
qemu |
affected from 4.0.0, before 9.1.0
Other versions: unaffected
|
|
Advanced Virtualization for RHEL 8.2.1
package
virt:8.2 |
unaffected 8020120240708124623.863bb0db and later
Other versions: affected
|
|
Advanced Virtualization for RHEL 8.4.0.EUS
package
virt:av |
unaffected 8040020240708093550.522a0ee4 and later
Other versions: affected
|
|
Advanced Virtualization for RHEL 8.4.0.EUS
package
virt-devel:av |
unaffected 8040020240708093550.522a0ee4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
virt-devel:rhel |
unaffected 8100020240704072441.489197e6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
virt:rhel |
unaffected 8100020240704072441.489197e6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
virt:rhel |
unaffected 8040020240703100448.522a0ee4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
package
virt:rhel |
unaffected 8040020240703100448.522a0ee4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
package
virt:rhel |
unaffected 8040020240703100448.522a0ee4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
virt:rhel |
unaffected 8060020240703092415.ad008a3a and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
virt:rhel |
unaffected 8060020240703092415.ad008a3a and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
virt:rhel |
unaffected 8060020240703092415.ad008a3a and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Extended Update Support
package
virt-devel:rhel |
unaffected 8080020240703085245.63b34585 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Extended Update Support
package
virt:rhel |
unaffected 8080020240703085245.63b34585 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
qemu-kvm |
unaffected 17:8.2.0-11.el9_4.4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
qemu-kvm |
unaffected 17:6.2.0-11.el9_0.9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Extended Update Support
package
qemu-kvm |
unaffected 17:7.2.0-14.el9_2.11 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10
package
qemu-kvm |
unaffected the record does not list versions
|
|
Red Hat Enterprise Linux 6
package
qemu-kvm |
unaffected the record does not list versions
|
|
Red Hat Enterprise Linux 7
package
qemu-kvm |
unaffected the record does not list versions
|
|
Red Hat Enterprise Linux 7
package
qemu-kvm-ma |
unaffected the record does not list versions
|
|
Red Hat OpenShift Virtualization 4
package
container-native-virtualization/virt-cdi-operator-rhel9 |
affected the record does not list versions
|
Is my server affected?
Find the installed version of qemu-kvm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i qemu-kvm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-4467 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-4467RHEL, Rocky, Alma, Fedora
rpm -q qemu-kvm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-4467Alpine
apk list --installed | grep -i qemu-kvmWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-4467
trivy image --scanners vuln IMAGE | grep CVE-2024-4467
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2024:4276 access.redhat.com · vendor advisory
- RHSA-2024:4277 access.redhat.com · vendor advisory
- RHSA-2024:4278 access.redhat.com · vendor advisory
- RHSA-2024:4372 access.redhat.com · vendor advisory
- RHSA-2024:4373 access.redhat.com · vendor advisory
- RHSA-2024:4374 access.redhat.com · vendor advisory
- RHSA-2024:4420 access.redhat.com · vendor advisory
- RHSA-2024:4724 access.redhat.com · vendor advisory
- RHSA-2024:4727 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-4467 access.redhat.com · vdb entry
- RHBZ#2278875 bugzilla.redhat.com · issue tracking
Other references
- http://www.openwall.com/lists/oss-security/2024/07/23/2 openwall.com
- https://security.netapp.com/advisory/ntap-20240822-0005/ security.netapp.com
Source: the record CVE-2024-4467 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse