CVE-2023-5088
Qemu: improper ide controller reset can lead to mbr overwrite
Reported by redhat · Published November 3, 2023
A bug in QEMU could cause a guest I/O operation otherwise addressed to an arbitrary disk offset to be targeted to offset 0 instead (potentially overwriting the VM's boot code). This could be used, for example, by L2 guests with a virtual disk (vdiskL2) stored on a virtual disk of an L1 (vdiskL1) hypervisor to read and/or write data to LBA 0 of vdiskL1, potentially gaining control of L1 at its next reboot.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| qemu-block-dmg | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-img | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-ui-gtk | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-audio-oss | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-block-ssh | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-ui-sdl | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-audio-pa | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-user-static | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-user-binfmt | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-block-nfs | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
| qemu-system-x86-core | Amazon Linux | 10:3.1.0-8.amzn2.0.15 |
16 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240314161907.e155f54d |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240314161907.e155f54d |
| Red Hat | Red Hat Enterprise Linux 9 | 17:8.2.0-11.el9_4 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 Advanced Virtualization | |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240314161907.e155f54d |
| amazon:2 | qemu-block-dmg | 0 |
| amazon:2 | qemu-img | 0 |
| amazon:2 | qemu-ui-gtk | 0 |
| amazon:2 | qemu-audio-oss | 0 |
| amazon:2 | qemu-block-ssh | 0 |
| amazon:2 | qemu-ui-sdl | 0 |
| amazon:2 | qemu-audio-pa | 0 |
| amazon:2 | qemu-user-static | 0 |
| amazon:2 | qemu-user-binfmt | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240314161907.e155f54d |
| amazon:2 | qemu-block-nfs | 0 |
| amazon:2 | qemu | 0 |
…and 21 more
Timeline
- Oct 31, 2023 CVE Published
- Nov 4, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
- Mar 26, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 26, 2026 Security Advisory (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-5088
vulnetix vdb fixes CVE-2023-5088
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-5088/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:2135 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2962 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2247283 issue-trackingx_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/03/msg00012.html url
- https://security.netapp.com/advisory/ntap-20231208-0005/ url
- https://lists.debian.org/debian-lts-announce/2025/04/msg00042.html url