CVE-2023-5088: Qemu: improper ide controller reset can lead to mbr overwrite

Published Oct 31, 2023
·
Updated

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.

Affected Software

9 affected componentsFixes available
redhat/qemu-kvm<8.2.0
8.2.0
Qemu Qemu<8.2.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/qemu<1:7.2+dfsg-7+deb12u3
1:7.2+dfsg-7+deb12u3
debian/qemu<1:8.1.1+ds-2
1:8.1.1+ds-2
debian/qemu<1:8.1.1+ds-2
1:8.1.1+ds-2
debian/qemu
1:7.2+dfsg-7+deb12u181:7.2+dfsg-7+deb12u151:10.0.13+ds-0+deb13u11:10.0.2+ds-2+deb13u11:11.1.2+ds-31:11.1.3+ds-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/qemu-kvm to a version that resolves this vulnerability.

    Fixed in 8.2.0
  2. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:7.2+dfsg-7+deb12u3
  3. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:8.1.1+ds-2
  4. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:7.2+dfsg-7+deb12u18Fixed in 1:7.2+dfsg-7+deb12u15Fixed in 1:10.0.13+ds-0+deb13u1Fixed in 1:10.0.2+ds-2+deb13u1Fixed in 1:11.1.2+ds-3Fixed in 1:11.1.3+ds-1

Event History

Oct 31, 2023
Data Sourced
05:50 PM
DescriptionSeverityAffected Software
Nov 3, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
CVE Published
via MITRE·01:58 PM
Data Sourced
01:58 PM
Weakness
Data Sourced
via OSV·01:58 PM
DescriptionSeverityWeakness
Nov 6, 2023
Data Sourced
via Red Hat·04:06 PM
DescriptionSeverityAffected Software
Nov 13, 2023
Updated
07:21 PM
SeverityWeakness
Dec 8, 2023
Updated
07:15 PM
Affected Software
Jan 23, 2024
Data Sourced
via MITRE·12:59 AM
DescriptionSeverityWeakness
Feb 13, 2024
Updated
via Red Hat·04:41 PM
DescriptionAffected Software
Mar 11, 2024
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·06:15 PM
Affected Software
Apr 30, 2024
Updated
via NVD·02:15 PM
Affected Software
May 22, 2024
Updated
via NVD·05:16 PM
Affected Software
Sep 13, 2024
Updated
via NVD·07:15 PM
Affected Software
Nov 21, 2024
Updated
via NVD·08:41 AM
RemedyAffected Software
Nov 3, 2025
Updated
via NVD·08:16 PM
Affected Software
Nov 7, 2026
Updated
via NVD·02:16 PM
RemedyAffected Software
Nov 8, 2026
Data Sourced
via OSV·09:47 AM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-5088?

CVE-2023-5088 is a vulnerability in QEMU that can result in the overwrite of a VM's boot code due to an improper IDE controller reset.

2

What is the severity level of CVE-2023-5088?

CVE-2023-5088 has a severity level of medium.

3

How does CVE-2023-5088 affect QEMU?

CVE-2023-5088 affects QEMU by causing a guest I/O operation to be targeted to offset 0 instead of the intended disk offset, potentially overwriting the VM's boot code.

4

Is there a fix available for CVE-2023-5088?

Yes, a fix is available for CVE-2023-5088. Please refer to the vendor's security advisory for more information.

5

What is the Common Weakness Enumeration (CWE) ID for CVE-2023-5088?

The Common Weakness Enumeration (CWE) ID for CVE-2023-5088 is CWE-821.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203