USN-5307-1: QEMU vulnerabilities
28 February 2022
Several security issues were fixed in QEMU.
Releases
Packages
- qemu - Machine emulator and virtualizer
Details
Gaoning Pan discovered that QEMU incorrectly handled the floppy disk
emulator. An attacker inside the guest could use this issue to cause QEMU
to crash, resulting in a denial of service. (CVE-2021-20196)
Gaoning Pan discovered that the QEMU vmxnet3 NIC emulator incorrectly
handled certain values. An attacker inside the guest could use this issue
to cause QEMU to crash, resulting in a denial of service. (CVE-2021-20203)
It was discovered that the QEMU vhost-user GPU device contained several
security issues. An attacker inside the guest could use these issues to
cause QEMU to crash, resulting in a denial of service, leak sensitive
information, or possibly execute arbitrary code. This issue only affected
Ubuntu 21.10. (CVE-2021-3544, CVE-2021-3545, CVE-2021-3546)
It was discovered that QEMU incorrectly handled bulk transfers from SPICE
clients. A remote attacker could use this issue to cause QEMU to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2021-3682)
It was discovered that the QEMU UAS device emulation incorrectly handled
certain stream numbers. 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 21.10.
(CVE-2021-3713)
It was discovered that the QEMU virtio-net device incorrectly handled
certain buffer addresses. 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. (CVE-2021-3748)
It was discovered that the QEMU SCSI device emulation incorrectly handled
certain MODE SELECT commands. An attacker inside the guest could possibly
use this issue to cause QEMU to crash, resulting in a denial of service.
(CVE-2021-3930)
It was discovered that the QEMU ACPI logic incorrectly handled certain
values. An attacker inside the guest could possibly use this issue to cause
QEMU to crash, resulting in a denial of service. This issue only affected
Ubuntu 21.10. (CVE-2021-4158)
Jietao Xiao, Jinku Li, Wenbo Shen, and Nanzi Yang discovered that the QEMU
virtiofsd device incorrectly handled permissions when creating files. An
attacker inside the guest could use this issue to create files inside the
directory shared by virtiofs with unintended permissions, possibly allowing
privilege escalation. This issue only affected Ubuntu 21.10.
(CVE-2022-0358)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 21.10
-
qemu-system-x86-microvm
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-misc
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-s390x
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-x86
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-sparc
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-arm
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-ppc
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-mips
-
1:6.0+dfsg-2expubuntu1.2
-
qemu-system-x86-xen
-
1:6.0+dfsg-2expubuntu1.2
Ubuntu 20.04
-
qemu-system-x86-microvm
-
1:4.2-3ubuntu6.21
-
qemu-system-misc
-
1:4.2-3ubuntu6.21
-
qemu-system-s390x
-
1:4.2-3ubuntu6.21
-
qemu-system
-
1:4.2-3ubuntu6.21
-
qemu-system-x86
-
1:4.2-3ubuntu6.21
-
qemu-system-sparc
-
1:4.2-3ubuntu6.21
-
qemu-system-arm
-
1:4.2-3ubuntu6.21
-
qemu-system-ppc
-
1:4.2-3ubuntu6.21
-
qemu-system-mips
-
1:4.2-3ubuntu6.21
-
qemu-system-x86-xen
-
1:4.2-3ubuntu6.21
Ubuntu 18.04
-
qemu-system-misc
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-s390x
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-x86
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-arm
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-sparc
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-ppc
-
1:2.11+dfsg-1ubuntu7.39
-
qemu-system-mips
-
1:2.11+dfsg-1ubuntu7.39
After a standard system update you need to restart all QEMU virtual
machines to make all the necessary changes.
Related notices
- USN-5010-1: qemu-system-sparc, qemu-user, qemu-system-data, qemu-system-gui, qemu-utils, qemu-system-x86-xen, qemu-user-static, qemu-system-ppc, qemu-system-arm, qemu-system, qemu-block-extra, qemu-kvm, qemu-system-misc, qemu-user-binfmt, qemu-system-s390x, qemu-system-x86-microvm, qemu-system-mips, qemu-system-common, qemu, qemu-system-x86, qemu-guest-agent
- USN-5772-1: qemu-system-sparc, qemu-common, qemu-user, qemu-system-data, qemu-system-gui, qemu-utils, qemu-system-x86-xen, qemu-user-static, qemu-system-ppc, qemu-system-arm, qemu-system, qemu-block-extra, qemu-kvm, qemu-system-misc, qemu-user-binfmt, qemu-system-s390x, qemu-system-x86-microvm, qemu-keymaps, qemu-system-mips, qemu-system-common, qemu, qemu-system-aarch64, qemu-system-x86, qemu-system-xen, qemu-guest-agent
- USN-5489-1: qemu-system-sparc, qemu-user, qemu-system-data, qemu-system-gui, qemu-utils, qemu-system-x86-xen, qemu-user-static, qemu-system-ppc, qemu-system-arm, qemu-system, qemu-block-extra, qemu-kvm, qemu-system-misc, qemu-user-binfmt, qemu-system-s390x, qemu-system-x86-microvm, qemu-system-mips, qemu-system-common, qemu, qemu-system-x86, qemu-guest-agent