CVE-2023-42467: Divide by Zero
QEMU through 8.0.0 could trigger a division by zero in scsidiskreset in hw/scsi/scsi-disk.c because scsidiskemulatemodeselect does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/qemuto a version that resolves this vulnerability.Fixed in 1:7.2+dfsg-5ubuntu2.4 - Upgrade
Upgrade
ubuntu/qemuto a version that resolves this vulnerability.Fixed in 1:8.0.4+dfsg-1ubuntu3.23.10.2 - Upgrade
Upgrade
ubuntu/qemuto a version that resolves this vulnerability.Fixed in 1:8.1.3+ - Upgrade
Upgrade
debian/qemuto a version that resolves this vulnerability.Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u2Fixed in 1:7.2+dfsg-7+deb12u7Fixed in 1:9.0.2+ds-2Fixed in 1:9.1.0+ds-3
Event History
Frequently Asked Questions
What is CVE-2023-42467?
CVE-2023-42467 is a vulnerability in QEMU versions up to 8.0.0 that could trigger a division by zero, leading to a denial of service (DoS) condition.
How does CVE-2023-42467 impact QEMU?
CVE-2023-42467 can be exploited to cause QEMU to crash, resulting in the immediate termination of the QEMU process and the guest system.
What is the severity of CVE-2023-42467?
CVE-2023-42467 has a medium severity rating, with a CVSS score of 5.5.
How can I mitigate CVE-2023-42467?
To mitigate CVE-2023-42467, you should update your QEMU installation to a version that is not affected by this vulnerability.
Where can I find more information about CVE-2023-42467?
You can find more information about CVE-2023-42467 at the official GitLab page for QEMU and the associated commit.