Skip to content
OpenAdvisories
Medium ALAS2-2023-2061 6 CVEs

Moderate: qemu security update (Amazon Linux 2)

Published May 25, 2023 · Updated Jun 1, 2023

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2022-4144: An out-of-bounds read flaw was found in the QXL display device emulation in QEMU. The qxl_phys2virt() function does not check the size of the structure pointed to by the guest physical address, potentially reading past the end of the bar space into adjacent pages. A malicious guest user could use this flaw to crash the QEMU process on the host causing a denial of service condition. CVE-2021-4207: 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-3930: An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page() if the 'page' argument was set to MODE_PAGE_ALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition. CVE-2021-3527: A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service. CVE-2021-3392: A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsas_free_request() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected. CVE-2021-20196: 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.

Fixed packages 28

ReleasePackageFixed in
Amazon Linux · 2 ivshmem-tools 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-audio-alsa 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-audio-oss 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-audio-pa 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-audio-sdl 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-curl 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-dmg 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-iscsi 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-nfs 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-rbd 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-block-ssh 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-common 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-debuginfo 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-guest-agent 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-img 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-kvm 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-kvm-core 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-system-aarch64 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-system-aarch64-core 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-system-x86 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-system-x86-core 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-ui-curses 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-ui-gtk 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-ui-sdl 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-user 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-user-binfmt 10:3.1.0-8.amzn2.0.10
Amazon Linux · 2 qemu-user-static 10:3.1.0-8.amzn2.0.10

Vulnerabilities 6

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-20196.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3392.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3527.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3930.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4207.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-4144.html