Oracle Linux 8 : virt:ol / and / virt-devel:ol (ELSA-2022-1759)

high Nessus Plugin ID 161302

Synopsis

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

Description

The remote Oracle Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ELSA-2022-1759 advisory.

- A flaw was found in the hivex library. This flaw allows an attacker to input a specially crafted Windows Registry (hive) file, which would cause hivex to recursively call the _get_children() function, leading to a stack overflow. The highest threat from this vulnerability is to system availability. (CVE-2021-3622)

- QEMU: NULL pointer dereference in pci_write() in hw/acpi/pcihp.c (CVE-2021-4158)

- libnbd: nbdcopy: missing error handling may create corrupted destination image (CVE-2022-0485)

- A NULL pointer dereference flaw was found in the floppy disk emulator of QEMU. This issue occurs while processing read/write ioport commands if the selected floppy drive is not initialized with a block device.
This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability. (CVE-2021-20196)

- A NULL pointer dereference issue was found in the block mirror layer of QEMU in versions prior to 6.2.0.
The `self` pointer is dereferenced in mirror_wait_on_conflicts() without ensuring that it's not NULL. A malicious unprivileged user within the guest could use this flaw to crash the QEMU process on the host when writing data reaches the threshold of mirroring node. (CVE-2021-4145)

- A flaw was found in nbdkit due to to improperly caching plaintext state across the STARTTLS encryption boundary. A MitM attacker could use this flaw to inject a plaintext NBD_OPT_STRUCTURED_REPLY before proxying everything else a client sends to the server, potentially leading the client to terminate the NBD session. The highest threat from this vulnerability is to system availability. (CVE-2021-3716)

- A crafted NTFS image can cause a heap-based buffer overflow in ntfs_inode_lookup_by_name in NTFS-3G < 2021.8.22. (CVE-2021-39256)

- A use-after-free vulnerability was found in the virtio-net device of QEMU. It could occur when the descriptor's address belongs to the non direct access region, due to num_buffers being set after the virtqueue elem has been unmapped. A malicious guest could use this flaw to crash QEMU, resulting in a denial of service condition, or potentially execute code on the host with the privileges of the QEMU process. (CVE-2021-3748)

- A crafted NTFS image can cause a NULL pointer dereference in ntfs_extent_inode_open in NTFS-3G < 2021.8.22. (CVE-2021-39251)

- In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the bytes_in_use field should be less than the bytes_allocated field. When it is not, the parsing of the records proceeds into the wild. (CVE-2021-33285)

- In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS inode pathname is supplied in an NTFS image a heap buffer overflow can occur resulting in memory disclosure, denial of service and even code execution. (CVE-2021-35266)

- NTFS-3G versions < 2021.8.22, a stack buffer overflow can occur when correcting differences in the MFT and MFTMirror allowing for code execution or escalation of privileges when setuid-root. (CVE-2021-35267)

- In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS inode is loaded in the function ntfs_inode_real_open, a heap buffer overflow can occur allowing for code execution and escalation of privileges. (CVE-2021-35268)

- NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute from the MFT is setup in the function ntfs_attr_setup_flag, a heap buffer overflow can occur allowing for code execution and escalation of privileges. (CVE-2021-35269)

- A crafted NTFS image can cause an out-of-bounds read in ntfs_runlists_merge_i in NTFS-3G < 2021.8.22.
(CVE-2021-39253)

- A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22. (CVE-2021-39257)

- A crafted NTFS image can cause out-of-bounds reads in ntfs_attr_find and ntfs_external_attr_find in NTFS-3G < 2021.8.22. (CVE-2021-39258)

- A crafted NTFS image can trigger an out-of-bounds access, caused by an unsanitized attribute length in ntfs_inode_lookup_by_name, in NTFS-3G < 2021.8.22. (CVE-2021-39259)

- A crafted NTFS image can trigger a heap-based buffer overflow, caused by an unsanitized attribute in ntfs_get_attribute_value, in NTFS-3G < 2021.8.22. (CVE-2021-39263)

- libvirt: segmentation fault during VM shutdown can lead to vdsm hang (CVE-2021-3975)

- In NTFS-3G versions < 2021.8.22, when a specially crafted MFT section is supplied in an NTFS image a heap buffer overflow can occur and allow for code execution. (CVE-2021-33289)

- A crafted NTFS image can cause an out-of-bounds access in ntfs_inode_sync_standard_information in NTFS-3G < 2021.8.22. (CVE-2021-39260)

- A crafted NTFS image can cause an out-of-bounds access in ntfs_decompress in NTFS-3G < 2021.8.22.
(CVE-2021-39262)

- In NTFS-3G versions < 2021.8.22, when a specially crafted unicode string is supplied in an NTFS image a heap buffer overflow can occur and allow for code execution. (CVE-2021-33286)

- In NTFS-3G versions < 2021.8.22, when specially crafted NTFS attributes are read in the function ntfs_attr_pread_i, a heap buffer overflow can occur and allow for writing to arbitrary memory or denial of service of the application. (CVE-2021-33287)

- A crafted NTFS image can cause an out-of-bounds read in ntfs_ie_lookup in NTFS-3G < 2021.8.22.
(CVE-2021-39252)

- A crafted NTFS image can cause an integer overflow in memmove, leading to a heap-based buffer overflow in the function ntfs_attr_record_resize, in NTFS-3G < 2021.8.22. (CVE-2021-39254)

- A crafted NTFS image can trigger an out-of-bounds read, caused by an invalid attribute in ntfs_attr_find_in_attrdef, in NTFS-3G < 2021.8.22. (CVE-2021-39255)

- A crafted NTFS image can cause a heap-based buffer overflow in ntfs_compressed_pwrite in NTFS-3G < 2021.8.22. (CVE-2021-39261)

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://linux.oracle.com/errata/ELSA-2022-1759.html

Plugin Details

Severity: High

ID: 161302

File Name: oraclelinux_ELSA-2022-1759.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/18/2022

Updated: 3/23/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.1

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS Score Source: CVE-2021-39263

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

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/OracleLinux

Exploit Ease: No known exploits are available

Patch Publication Date: 5/17/2022

Vulnerability Publication Date: 5/26/2021

Reference Information

CVE: CVE-2021-20196, CVE-2021-3622, CVE-2021-33285, CVE-2021-33286, CVE-2021-33287, CVE-2021-33289, CVE-2021-35266, CVE-2021-35267, CVE-2021-35268, CVE-2021-35269, CVE-2021-39251, CVE-2021-39252, CVE-2021-39253, CVE-2021-39254, CVE-2021-39255, CVE-2021-39256, CVE-2021-39257, CVE-2021-39258, CVE-2021-39259, CVE-2021-39260, CVE-2021-39261, CVE-2021-39262, CVE-2021-39263, CVE-2021-3716, CVE-2021-3748, CVE-2021-3975, CVE-2021-4145, CVE-2021-4158, CVE-2022-0485

IAVB: 2022-B-0051-S