USN-3826-1: QEMU vulnerabilities

26 November 2018

qemu vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 18.10
  • Ubuntu 18.04 LTS
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

Several security issues were fixed in QEMU.

Software Description

  • qemu - Machine emulator and virtualizer

Details

Daniel Shapira and Arash Tohidi discovered that QEMU incorrectly handled NE2000 device emulation. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-10839)

It was discovered that QEMU incorrectly handled the Slirp networking back-end. 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 on the host. In the default installation, when QEMU is used with libvirt, attackers would be isolated by the libvirt AppArmor profile. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-11806)

Fakhri Zulkifli discovered that the QEMU guest agent incorrectly handled certain QMP commands. An attacker could possibly use this issue to crash the QEMU guest agent, resulting in a denial of service. (CVE-2018-12617)

Li Qiang discovered that QEMU incorrectly handled NVM Express 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 on the host. In the default installation, when QEMU is used with libvirt, attackers would be isolated by the libvirt AppArmor profile. This issue only affected Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-16847)

Daniel Shapira and Arash Tohidi discovered that QEMU incorrectly handled RTL8139 device emulation. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-17958)

Daniel Shapira and Arash Tohidi discovered that QEMU incorrectly handled PCNET device emulation. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-17962)

Daniel Shapira discovered that QEMU incorrectly handled large packet sizes. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-17963)

It was discovered that QEMU incorrectly handled LSI53C895A device emulation. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-18849)

Moguofang discovered that QEMU incorrectly handled the IPowerNV LPC controller. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS and Ubuntu 18.10. (CVE-2018-18954)

Zhibin Hu discovered that QEMU incorrectly handled the Plan 9 File System support. An attacker inside the guest could use this issue to cause QEMU to crash, resulting in a denial of service. (CVE-2018-19364)

Update instructions

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

Ubuntu 18.10
qemu-system - 1:2.12+dfsg-3ubuntu8.1
qemu-system-arm - 1:2.12+dfsg-3ubuntu8.1
qemu-system-mips - 1:2.12+dfsg-3ubuntu8.1
qemu-system-misc - 1:2.12+dfsg-3ubuntu8.1
qemu-system-ppc - 1:2.12+dfsg-3ubuntu8.1
qemu-system-s390x - 1:2.12+dfsg-3ubuntu8.1
qemu-system-sparc - 1:2.12+dfsg-3ubuntu8.1
qemu-system-x86 - 1:2.12+dfsg-3ubuntu8.1
Ubuntu 18.04 LTS
qemu-system - 1:2.11+dfsg-1ubuntu7.8
qemu-system-arm - 1:2.11+dfsg-1ubuntu7.8
qemu-system-mips - 1:2.11+dfsg-1ubuntu7.8
qemu-system-misc - 1:2.11+dfsg-1ubuntu7.8
qemu-system-ppc - 1:2.11+dfsg-1ubuntu7.8
qemu-system-s390x - 1:2.11+dfsg-1ubuntu7.8
qemu-system-sparc - 1:2.11+dfsg-1ubuntu7.8
qemu-system-x86 - 1:2.11+dfsg-1ubuntu7.8
Ubuntu 16.04 LTS
qemu-system - 1:2.5+dfsg-5ubuntu10.33
qemu-system-aarch64 - 1:2.5+dfsg-5ubuntu10.33
qemu-system-arm - 1:2.5+dfsg-5ubuntu10.33
qemu-system-mips - 1:2.5+dfsg-5ubuntu10.33
qemu-system-misc - 1:2.5+dfsg-5ubuntu10.33
qemu-system-ppc - 1:2.5+dfsg-5ubuntu10.33
qemu-system-s390x - 1:2.5+dfsg-5ubuntu10.33
qemu-system-sparc - 1:2.5+dfsg-5ubuntu10.33
qemu-system-x86 - 1:2.5+dfsg-5ubuntu10.33
Ubuntu 14.04 LTS
qemu-system - 2.0.0+dfsg-2ubuntu1.44
qemu-system-aarch64 - 2.0.0+dfsg-2ubuntu1.44
qemu-system-arm - 2.0.0+dfsg-2ubuntu1.44
qemu-system-mips - 2.0.0+dfsg-2ubuntu1.44
qemu-system-misc - 2.0.0+dfsg-2ubuntu1.44
qemu-system-ppc - 2.0.0+dfsg-2ubuntu1.44
qemu-system-sparc - 2.0.0+dfsg-2ubuntu1.44
qemu-system-x86 - 2.0.0+dfsg-2ubuntu1.44

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References