AlmaLinux 8 : virt:rhel and virt-devel:rhel (5821) (ALSA-2022:5821)

high Nessus Plugin ID 163904

Synopsis

The remote AlmaLinux host is missing one or more security updates.

Description

The remote AlmaLinux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALSA-2022:5821 advisory.

- A flaw was found in the QXL display device emulation in QEMU. An integer overflow in the cursor_alloc() function can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. This flaw allows a malicious privileged guest user to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process. (CVE-2021-4206)

- A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values `cursor->header.width` and `cursor->header.height` can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process. (CVE-2021-4207)

- A flaw was found in the virtio-net device of QEMU. This flaw was inadvertently introduced with the fix for CVE-2021-3748, which forgot to unmap the cached virtqueue elements on error, leading to memory leakage and other unexpected results. Affected QEMU version: 6.2.0. (CVE-2022-26353)

- A flaw was found in the vhost-vsock device of QEMU. In case of error, an invalid element was not detached from the virtqueue before freeing its memory, leading to memory leakage and other unexpected results.
Affected QEMU versions <= 6.2.0. (CVE-2022-26354)

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.almalinux.org/8/ALSA-2022-5821.html

Plugin Details

Severity: High

ID: 163904

File Name: alma_linux_ALSA-2022-5821.nasl

Version: 1.4

Type: local

Published: 8/6/2022

Updated: 10/16/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-4207

CVSS v3

Risk Factor: High

Base Score: 8.2

Temporal Score: 7.4

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

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

Vulnerability Information

CPE: p-cpe:/a:alma:linux:slof, p-cpe:/a:alma:linux:hivex, p-cpe:/a:alma:linux:hivex-devel, p-cpe:/a:alma:linux:libguestfs, p-cpe:/a:alma:linux:libguestfs-appliance, p-cpe:/a:alma:linux:libguestfs-bash-completion, p-cpe:/a:alma:linux:libguestfs-devel, p-cpe:/a:alma:linux:libguestfs-gfs2, p-cpe:/a:alma:linux:libguestfs-gobject, p-cpe:/a:alma:linux:libguestfs-gobject-devel, p-cpe:/a:alma:linux:libguestfs-inspect-icons, p-cpe:/a:alma:linux:libguestfs-java, p-cpe:/a:alma:linux:libguestfs-java-devel, p-cpe:/a:alma:linux:libguestfs-javadoc, p-cpe:/a:alma:linux:libguestfs-man-pages-ja, p-cpe:/a:alma:linux:libguestfs-man-pages-uk, p-cpe:/a:alma:linux:libguestfs-rescue, p-cpe:/a:alma:linux:libguestfs-rsync, p-cpe:/a:alma:linux:libguestfs-tools, p-cpe:/a:alma:linux:libguestfs-tools-c, p-cpe:/a:alma:linux:libguestfs-winsupport, p-cpe:/a:alma:linux:libguestfs-xfs, p-cpe:/a:alma:linux:libiscsi, p-cpe:/a:alma:linux:libiscsi-devel, p-cpe:/a:alma:linux:libiscsi-utils, p-cpe:/a:alma:linux:libnbd, p-cpe:/a:alma:linux:libnbd-bash-completion, p-cpe:/a:alma:linux:libnbd-devel, p-cpe:/a:alma:linux:libtpms, p-cpe:/a:alma:linux:libtpms-devel, p-cpe:/a:alma:linux:libvirt, p-cpe:/a:alma:linux:libvirt-client, p-cpe:/a:alma:linux:libvirt-daemon, p-cpe:/a:alma:linux:libvirt-daemon-config-network, p-cpe:/a:alma:linux:libvirt-daemon-config-nwfilter, p-cpe:/a:alma:linux:libvirt-daemon-driver-interface, p-cpe:/a:alma:linux:libvirt-daemon-driver-network, p-cpe:/a:alma:linux:libvirt-daemon-driver-nodedev, p-cpe:/a:alma:linux:libvirt-daemon-driver-nwfilter, p-cpe:/a:alma:linux:libvirt-daemon-driver-qemu, p-cpe:/a:alma:linux:libvirt-daemon-driver-secret, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-core, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-disk, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-gluster, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-iscsi, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-iscsi-direct, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-logical, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-mpath, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-rbd, p-cpe:/a:alma:linux:libvirt-daemon-driver-storage-scsi, p-cpe:/a:alma:linux:libvirt-daemon-kvm, p-cpe:/a:alma:linux:libvirt-dbus, p-cpe:/a:alma:linux:libvirt-devel, p-cpe:/a:alma:linux:libvirt-docs, p-cpe:/a:alma:linux:libvirt-libs, p-cpe:/a:alma:linux:libvirt-lock-sanlock, p-cpe:/a:alma:linux:libvirt-nss, p-cpe:/a:alma:linux:libvirt-wireshark, p-cpe:/a:alma:linux:lua-guestfs, p-cpe:/a:alma:linux:nbdfuse, p-cpe:/a:alma:linux:nbdkit, p-cpe:/a:alma:linux:nbdkit-bash-completion, p-cpe:/a:alma:linux:nbdkit-basic-filters, p-cpe:/a:alma:linux:nbdkit-basic-plugins, p-cpe:/a:alma:linux:nbdkit-curl-plugin, p-cpe:/a:alma:linux:nbdkit-devel, p-cpe:/a:alma:linux:nbdkit-example-plugins, p-cpe:/a:alma:linux:nbdkit-gzip-filter, p-cpe:/a:alma:linux:nbdkit-gzip-plugin, p-cpe:/a:alma:linux:nbdkit-linuxdisk-plugin, p-cpe:/a:alma:linux:nbdkit-nbd-plugin, p-cpe:/a:alma:linux:nbdkit-python-plugin, p-cpe:/a:alma:linux:nbdkit-server, p-cpe:/a:alma:linux:nbdkit-ssh-plugin, p-cpe:/a:alma:linux:nbdkit-tar-filter, p-cpe:/a:alma:linux:nbdkit-tar-plugin, p-cpe:/a:alma:linux:nbdkit-tmpdisk-plugin, p-cpe:/a:alma:linux:nbdkit-vddk-plugin, p-cpe:/a:alma:linux:nbdkit-xz-filter, p-cpe:/a:alma:linux:netcf, p-cpe:/a:alma:linux:netcf-devel, p-cpe:/a:alma:linux:netcf-libs, p-cpe:/a:alma:linux:ocaml-hivex, p-cpe:/a:alma:linux:ocaml-hivex-devel, p-cpe:/a:alma:linux:ocaml-libguestfs, p-cpe:/a:alma:linux:ocaml-libguestfs-devel, p-cpe:/a:alma:linux:ocaml-libnbd, p-cpe:/a:alma:linux:ocaml-libnbd-devel, p-cpe:/a:alma:linux:perl-sys-guestfs, p-cpe:/a:alma:linux:perl-sys-virt, p-cpe:/a:alma:linux:perl-hivex, p-cpe:/a:alma:linux:python3-hivex, p-cpe:/a:alma:linux:python3-libguestfs, p-cpe:/a:alma:linux:python3-libnbd, p-cpe:/a:alma:linux:python3-libvirt, p-cpe:/a:alma:linux:qemu-guest-agent, p-cpe:/a:alma:linux:qemu-img, p-cpe:/a:alma:linux:qemu-kvm, p-cpe:/a:alma:linux:qemu-kvm-block-curl, p-cpe:/a:alma:linux:qemu-kvm-block-gluster, p-cpe:/a:alma:linux:qemu-kvm-block-iscsi, p-cpe:/a:alma:linux:qemu-kvm-block-rbd, p-cpe:/a:alma:linux:qemu-kvm-block-ssh, p-cpe:/a:alma:linux:qemu-kvm-common, p-cpe:/a:alma:linux:qemu-kvm-core, p-cpe:/a:alma:linux:qemu-kvm-docs, p-cpe:/a:alma:linux:qemu-kvm-hw-usbredir, p-cpe:/a:alma:linux:qemu-kvm-tests, p-cpe:/a:alma:linux:qemu-kvm-ui-opengl, p-cpe:/a:alma:linux:qemu-kvm-ui-spice, p-cpe:/a:alma:linux:ruby-hivex, p-cpe:/a:alma:linux:ruby-libguestfs, p-cpe:/a:alma:linux:seabios, p-cpe:/a:alma:linux:seabios-bin, p-cpe:/a:alma:linux:seavgabios-bin, p-cpe:/a:alma:linux:sgabios, p-cpe:/a:alma:linux:sgabios-bin, p-cpe:/a:alma:linux:supermin, p-cpe:/a:alma:linux:supermin-devel, p-cpe:/a:alma:linux:swtpm, p-cpe:/a:alma:linux:swtpm-devel, p-cpe:/a:alma:linux:swtpm-libs, p-cpe:/a:alma:linux:swtpm-tools, p-cpe:/a:alma:linux:swtpm-tools-pkcs11, p-cpe:/a:alma:linux:virt-dib, p-cpe:/a:alma:linux:virt-v2v, p-cpe:/a:alma:linux:virt-v2v-bash-completion, p-cpe:/a:alma:linux:virt-v2v-man-pages-ja, p-cpe:/a:alma:linux:virt-v2v-man-pages-uk, cpe:/o:alma:linux:8

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/2/2022

Vulnerability Publication Date: 3/16/2022

Reference Information

CVE: CVE-2021-4206, CVE-2021-4207, CVE-2022-26353, CVE-2022-26354