Vulnerability · Published Jul 5, 2024 · Assigned by redhat
CVE-2024-6505Qemu-kvm: virtio-net: queue index out-of-bounds access in software rss
Medium 6.8
In plain English
A medium-severity out-of-bounds read 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.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in the virtio-net device in QEMU. When enabling the RSS feature on the virtio-net network card, the indirections_table data within RSS becomes controllable. Setting excessively large values may cause an index out-of-bounds issue, potentially resulting in heap overflow access. This flaw allows a privileged user in the guest to crash the QEMU process on the host.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | qemu | 1:7.2+dfsg-7+deb12u8 | DEBIAN-CVE-2024-6505 |
| Debian:13 | qemu | 1:9.0.2+ds-3 | DEBIAN-CVE-2024-6505 |
| Debian:14 | qemu | 1:9.0.2+ds-3 | DEBIAN-CVE-2024-6505 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.27 | USN-7744-1 |
| Ubuntu:22.04:LTS | qemu | 1:6.2+dfsg-2ubuntu6.27 | UBUNTU-CVE-2024-6505 |
| Ubuntu:24.04:LTS | qemu | 1:8.2.2+ds-0ubuntu1.10 | USN-7744-1 |
| Ubuntu:24.04:LTS | qemu | 1:8.2.2+ds-0ubuntu1.10 | UBUNTU-CVE-2024-6505 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| qemu | 5.1.0 – before 9.1.0 | |
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| 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-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-6505 vdb-entry, x_refsource_REDHAT
- RHBZ#2295760 issue-tracking, x_refsource_REDHAT
- https://security.netapp.com/advisory/ntap-20240816-0006/