Divide By Zero Affecting qemu package, versions <1:8.1.3+ds-1ubuntu1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-QEMU-6697504
  • published29 Apr 2024
  • disclosed11 Sept 2023

Introduced: 11 Sep 2023

CVE-2023-42467  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 qemu to version 1:8.1.3+ds-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu package and not the qemu package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

QEMU through 8.0.0 could trigger a division by zero in scsi_disk_reset in hw/scsi/scsi-disk.c because scsi_disk_emulate_mode_select does not prevent s->qdev.blocksize from being 256. This stops QEMU and the guest immediately.

CVSS Scores

version 3.1