Vulnerability · Published Nov 14, 2024 · Assigned by fedora
CVE-2024-7730Qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()
High 7.4
In plain English
A high-severity heap buffer overflow in qemu. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A heap buffer overflow was found in the virtio-snd device in QEMU. When reading input audio in the virtio-snd input callback, virtio_snd_pcm_in_cb, the function did not check whether the iov can fit the data buffer. This issue can trigger an out-of-bounds write if the size of the virtio queue element is equal to virtio_snd_pcm_status, which makes the available space for audio data zero.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | qemu | no fix listed | DEBIAN-CVE-2024-7730 |
| Debian:13 | qemu | 1:9.1.0+ds-1 | DEBIAN-CVE-2024-7730 |
| Debian:14 | qemu | 1:9.1.0+ds-1 | DEBIAN-CVE-2024-7730 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.24 | USN-7094-1 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.24 | UBUNTU-CVE-2024-7730 |
| Ubuntu:24.04:LTS | qemu | 1:8.2.2+ds-0ubuntu1.4 | USN-7094-1 |
| Ubuntu:24.04:LTS | qemu | 1:8.2.2+ds-0ubuntu1.4 | UBUNTU-CVE-2024-7730 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| qemu | 0 – before 9.1.0 | |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-7730 vdb-entry, x_refsource_REDHAT
- RHBZ#2304289 issue-tracking, x_refsource_REDHAT