Rocky Linux 9 : qemu-kvm (RLSA-2024:2135)

high Nessus Plugin ID 196971

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2024:2135 advisory.

- A DMA reentrancy issue leading to a use-after-free error was found in the e1000e NIC emulation code in QEMU. This issue could allow a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. (CVE-2023-3019)

- A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. A wrong exit condition may lead to an infinite loop when inflating an attacker controlled zlib buffer in the `inflate_buffer` function. This could allow a remote authenticated client who is able to send a clipboard to the VNC server to trigger a denial of service. (CVE-2023-3255)

- 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. (CVE-2023-42467)

- 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.
(CVE-2023-5088)

- A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. The qemu_clipboard_request() function can be reached before vnc_server_cut_text_caps() was called and had the chance to initialize the clipboard peer, leading to a NULL pointer dereference. This could allow a malicious authenticated VNC client to crash QEMU and trigger a denial of service. (CVE-2023-6683)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2024:2135

https://bugzilla.redhat.com/show_bug.cgi?id=2218486

https://bugzilla.redhat.com/show_bug.cgi?id=2222351

https://bugzilla.redhat.com/show_bug.cgi?id=2238291

https://bugzilla.redhat.com/show_bug.cgi?id=2247283

https://bugzilla.redhat.com/show_bug.cgi?id=2254825

Plugin Details

Severity: High

ID: 196971

File Name: rocky_linux_RLSA-2024-2135.nasl

Version: 1.0

Type: local

Published: 5/14/2024

Updated: 5/14/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.7

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-5088

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:rocky:linux:qemu-pr-helper, p-cpe:/a:rocky:linux:qemu-kvm-block-blkio, p-cpe:/a:rocky:linux:qemu-kvm-tools, p-cpe:/a:rocky:linux:qemu-kvm-core-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-docs, p-cpe:/a:rocky:linux:qemu-img, p-cpe:/a:rocky:linux:qemu-kvm-device-usb-host-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-ui-opengl, p-cpe:/a:rocky:linux:qemu-kvm-block-rbd-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-core, p-cpe:/a:rocky:linux:qemu-kvm-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-vga, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu-pci, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu-pci-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu-ccw, p-cpe:/a:rocky:linux:qemu-pr-helper-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-common-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-block-curl, p-cpe:/a:rocky:linux:qemu-kvm-block-rbd, p-cpe:/a:rocky:linux:qemu-kvm-tools-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu, p-cpe:/a:rocky:linux:qemu-kvm-block-blkio-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-audio-pa, p-cpe:/a:rocky:linux:qemu-kvm-device-usb-redirect-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-block-curl-debuginfo, p-cpe:/a:rocky:linux:qemu-img-debuginfo, p-cpe:/a:rocky:linux:qemu-guest-agent-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-vga-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-display-virtio-gpu-ccw-debuginfo, cpe:/o:rocky:linux:9, p-cpe:/a:rocky:linux:qemu-kvm-audio-pa-debuginfo, p-cpe:/a:rocky:linux:qemu-guest-agent, p-cpe:/a:rocky:linux:qemu-kvm-ui-egl-headless, p-cpe:/a:rocky:linux:qemu-kvm-ui-egl-headless-debuginfo, p-cpe:/a:rocky:linux:qemu-kvm-device-usb-redirect, p-cpe:/a:rocky:linux:qemu-kvm-common, p-cpe:/a:rocky:linux:qemu-kvm-debugsource, p-cpe:/a:rocky:linux:qemu-kvm-device-usb-host, p-cpe:/a:rocky:linux:qemu-kvm-ui-opengl-debuginfo

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/RockyLinux/release, Host/RockyLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/10/2024

Vulnerability Publication Date: 7/24/2023

Reference Information

CVE: CVE-2023-3019, CVE-2023-3255, CVE-2023-42467, CVE-2023-5088, CVE-2023-6683