USN-5489-1: QEMU vulnerabilities

Publication date

21 June 2022

Overview

Several security issues were fixed in QEMU.


Packages

  • qemu - Machine emulator and virtualizer

Details

Alexander Bulekov discovered that QEMU incorrectly handled floppy disk
emulation. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service, or possibly leak
sensitive information. (CVE-2021-3507)

It was discovered that QEMU incorrectly handled NVME controller emulation.
An attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2021-3929)

It was discovered that QEMU incorrectly handled QXL display device
emulation. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2021-4206,

Alexander Bulekov discovered that QEMU incorrectly handled floppy disk
emulation. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service, or possibly leak
sensitive information. (CVE-2021-3507)

It was discovered that QEMU incorrectly handled NVME controller emulation.
An attacker inside the guest could use this issue to cause QEMU to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS. (CVE-2021-3929)

It was discovered that QEMU incorrectly handled QXL display device
emulation. A privileged attacker inside the guest could use this issue to
cause QEMU to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2021-4206, CVE-2021-4207)

Jietao Xiao, Jinku Li, Wenbo Shen, and Nanzi Yang discovered that QEMU
incorrectly handled the virtiofsd shared file system daemon. An attacker
inside the guest could use this issue to create files with incorrect
ownership, possibly leading to privilege escalation. This issue only
affected Ubuntu 22.04 LTS. (CVE-2022-0358)

It was discovered that QEMU incorrectly handled virtio-net devices. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2022-26353)

It was discovered that QEMU incorrectly handled vhost-vsock devices. A
privileged attacker inside the guest could use this issue to cause QEMU to
crash, resulting in a denial of service, or possibly execute arbitrary
code. (CVE-2022-26354)


Update instructions

After a standard system update you need to restart all QEMU virtual machines to make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy qemu-system-x86-microvm –  1:6.2+dfsg-2ubuntu6.2
qemu-system-misc –  1:6.2+dfsg-2ubuntu6.2
qemu-system-s390x –  1:6.2+dfsg-2ubuntu6.2
qemu-system –  1:6.2+dfsg-2ubuntu6.2
qemu-system-x86 –  1:6.2+dfsg-2ubuntu6.2
qemu-system-sparc –  1:6.2+dfsg-2ubuntu6.2
qemu-system-arm –  1:6.2+dfsg-2ubuntu6.2
qemu-system-ppc –  1:6.2+dfsg-2ubuntu6.2
qemu-system-mips –  1:6.2+dfsg-2ubuntu6.2
qemu-system-x86-xen –  1:6.2+dfsg-2ubuntu6.2
21.10 impish qemu-system-x86-microvm –  1:6.0+dfsg-2expubuntu1.3
qemu-system-misc –  1:6.0+dfsg-2expubuntu1.3
qemu-system-s390x –  1:6.0+dfsg-2expubuntu1.3
qemu-system –  1:6.0+dfsg-2expubuntu1.3
qemu-system-x86 –  1:6.0+dfsg-2expubuntu1.3
qemu-system-sparc –  1:6.0+dfsg-2expubuntu1.3
qemu-system-arm –  1:6.0+dfsg-2expubuntu1.3
qemu-system-ppc –  1:6.0+dfsg-2expubuntu1.3
qemu-system-mips –  1:6.0+dfsg-2expubuntu1.3
qemu-system-x86-xen –  1:6.0+dfsg-2expubuntu1.3
20.04 focal qemu-system-x86-microvm –  1:4.2-3ubuntu6.23
qemu-system-misc –  1:4.2-3ubuntu6.23
qemu-system-s390x –  1:4.2-3ubuntu6.23
qemu-system –  1:4.2-3ubuntu6.23
qemu-system-x86 –  1:4.2-3ubuntu6.23
qemu-system-sparc –  1:4.2-3ubuntu6.23
qemu-system-arm –  1:4.2-3ubuntu6.23
qemu-system-ppc –  1:4.2-3ubuntu6.23
qemu-system-mips –  1:4.2-3ubuntu6.23
qemu-system-x86-xen –  1:4.2-3ubuntu6.23
18.04 bionic qemu-system-misc –  1:2.11+dfsg-1ubuntu7.40
qemu-system-s390x –  1:2.11+dfsg-1ubuntu7.40
qemu-system –  1:2.11+dfsg-1ubuntu7.40
qemu-system-x86 –  1:2.11+dfsg-1ubuntu7.40
qemu-system-arm –  1:2.11+dfsg-1ubuntu7.40
qemu-system-sparc –  1:2.11+dfsg-1ubuntu7.40
qemu-system-ppc –  1:2.11+dfsg-1ubuntu7.40
qemu-system-mips –  1:2.11+dfsg-1ubuntu7.40

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›