CBL Mariner 2.0 Security Update: qemu / qemu-kvm (CVE-2022-0358)

high Nessus Plugin ID 205062

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-2022-0358 advisory.

- A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405. A local guest user can create files in the directories shared by virtio-fs with unintended group ownership in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of the group. This could allow a malicious unprivileged user inside the guest to gain access to resources accessible to the root group, potentially escalating their privileges within the guest. A malicious local user in the host might also leverage this unexpected executable file created by the guest to escalate their privileges on the host system. (CVE-2022-0358)

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-2022-0358

Plugin Details

Severity: High

ID: 205062

File Name: mariner_CVE-2022-0358.nasl

Version: 1.1

Type: local

Published: 8/6/2024

Updated: 8/6/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2022-0358

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/1/2024

Vulnerability Publication Date: 2/7/2022

Reference Information

CVE: CVE-2022-0358