CBL Mariner 2.0 Security Update: qemu / qemu-kvm (CVE-2021-4207)

high Nessus Plugin ID 205069

Synopsis

The remote CBL Mariner host is missing one or more security updates.

Description

The version of qemu / qemu-kvm installed on the remote CBL Mariner 2.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2021-4207 advisory.

- 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)

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

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2021-4207

Plugin Details

Severity: High

ID: 205069

File Name: mariner_CVE-2021-4207.nasl

Version: 1.1

Type: local

Published: 8/6/2024

Updated: 8/6/2024

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:microsoft:cbl-mariner:qemu-system-aarch64, p-cpe:/a:microsoft:cbl-mariner:qemu-system-avr, x-cpe:/o:microsoft:cbl-mariner, p-cpe:/a:microsoft:cbl-mariner:qemu-system-arm-core, p-cpe:/a:microsoft:cbl-mariner:qemu-system-alpha-core, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-gpu-pci-gl, p-cpe:/a:microsoft:cbl-mariner:qemu-system-avr-core, p-cpe:/a:microsoft:cbl-mariner:qemu-block-dmg, p-cpe:/a:microsoft:cbl-mariner:qemu-block-nfs, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-gpu-ccw, p-cpe:/a:microsoft:cbl-mariner:qemu-docs, p-cpe:/a:microsoft:cbl-mariner:qemu-img, p-cpe:/a:microsoft:cbl-mariner:qemu-system-cris, p-cpe:/a:microsoft:cbl-mariner:qemu-ui-opengl, p-cpe:/a:microsoft:cbl-mariner:qemu-user, p-cpe:/a:microsoft:cbl-mariner:qemu-system-x86-core, p-cpe:/a:microsoft:cbl-mariner:qemu-block-curl, p-cpe:/a:microsoft:cbl-mariner:qemu-tools, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-gpu-gl, p-cpe:/a:microsoft:cbl-mariner:qemu-user-binfmt, p-cpe:/a:microsoft:cbl-mariner:qemu, p-cpe:/a:microsoft:cbl-mariner:qemu-common, p-cpe:/a:microsoft:cbl-mariner:qemu-tests, p-cpe:/a:microsoft:cbl-mariner:qemu-guest-agent, p-cpe:/a:microsoft:cbl-mariner:qemu-device-usb-smartcard, p-cpe:/a:microsoft:cbl-mariner:qemu-device-usb-redirect, p-cpe:/a:microsoft:cbl-mariner:qemu-kvm-core, p-cpe:/a:microsoft:cbl-mariner:qemu-system-cris-core, p-cpe:/a:microsoft:cbl-mariner:qemu-system-x86, p-cpe:/a:microsoft:cbl-mariner:qemu-virtiofsd, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-vga-gl, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-gpu-pci, p-cpe:/a:microsoft:cbl-mariner:qemu-system-arm, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-gpu, p-cpe:/a:microsoft:cbl-mariner:qemu-ui-curses, p-cpe:/a:microsoft:cbl-mariner:qemu-pr-helper, p-cpe:/a:microsoft:cbl-mariner:qemu-system-aarch64-core, p-cpe:/a:microsoft:cbl-mariner:qemu-block-rbd, p-cpe:/a:microsoft:cbl-mariner:qemu-ui-egl-headless, p-cpe:/a:microsoft:cbl-mariner:qemu-audio-oss, p-cpe:/a:microsoft:cbl-mariner:qemu-audio-alsa, p-cpe:/a:microsoft:cbl-mariner:qemu-system-alpha, p-cpe:/a:microsoft:cbl-mariner:qemu-block-iscsi, p-cpe:/a:microsoft:cbl-mariner:qemu-ui-gtk, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-vhost-user-gpu, p-cpe:/a:microsoft:cbl-mariner:qemu-device-usb-host, p-cpe:/a:microsoft:cbl-mariner:qemu-device-display-virtio-vga, p-cpe:/a:microsoft:cbl-mariner:qemu-kvm

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/1/2024

Vulnerability Publication Date: 4/29/2022

Reference Information

CVE: CVE-2021-4207