USN-7094-1: QEMU vulnerabilities

Publication date

8 November 2024

Overview

Several security issues were fixed in QEMU.


Packages

  • qemu - Machine emulator and virtualizer

Details

It was discovered that QEMU incorrectly handled memory during certain VNC
operations. A remote attacker could possibly use this issue to cause QEMU
to consume resources, resulting in a denial of service. This issue only
affected Ubuntu 14.04 LTS. (CVE-2019-20382)

It was discovered that QEMU incorrectly handled certain memory copy
operations when loading ROM contents. If a user were tricked into running
an untrusted kernel image, a remote attacker could possibly use this issue
to run arbitrary code. This issue only affected Ubuntu 14.04 LTS.
(CVE-2020-13765)

Aviv Sasson discovered that QEMU incorrectly handled Slirp networking. A
remote attacker 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 14.04 LTS. (

It was discovered that QEMU incorrectly handled memory during certain VNC
operations. A remote attacker could possibly use this issue to cause QEMU
to consume resources, resulting in a denial of service. This issue only
affected Ubuntu 14.04 LTS. (CVE-2019-20382)

It was discovered that QEMU incorrectly handled certain memory copy
operations when loading ROM contents. If a user were tricked into running
an untrusted kernel image, a remote attacker could possibly use this issue
to run arbitrary code. This issue only affected Ubuntu 14.04 LTS.
(CVE-2020-13765)

Aviv Sasson discovered that QEMU incorrectly handled Slirp networking. A
remote attacker 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 14.04 LTS. (CVE-2020-1983)

It was discovered that the SLiRP networking implementation of the QEMU
emulator did not properly manage memory under certain circumstances. An
attacker could use this to cause a heap-based buffer overflow or other out-
of-bounds access, which can lead to a denial of service (application crash)
or potential execute arbitrary code. This issue only affected
Ubuntu 14.04 LTS. (CVE-2020-7039)

It was discovered that the SLiRP networking implementation of the QEMU
emulator misuses snprintf return values. An attacker could use this to
cause a denial of service (application crash) or potentially execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS. (CVE-2020-8608)

It was discovered that QEMU SLiRP networking incorrectly handled certain
udp packets. An attacker inside a guest could possibly use this issue to
leak sensitive information from the host. This issue only affected
Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2021-3592, CVE-2021-3594)

It was discovered that QEMU had a DMA reentrancy issue, leading to a
use-after-free vulnerability. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-3019)

It was discovered that QEMU had a flaw in Virtio PCI Bindings, leading
to a triggerable crash via vhost_net_stop. An attacker inside a guest
could possibly use this issue to cause a denial of service. This issue
only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-4693)

It was discovered that QEMU incorrectly handled memory in virtio-sound,
leading to a heap-based buffer overflow. An attacker could possibly use
this issue to cause a denial of service or execute arbitrary code. This
issue only affected Ubuntu 24.04 LTS and Ubuntu 24.10. (CVE-2024-7730)


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
24.10 oracular qemu-system –  1:9.0.2+ds-4ubuntu5.1
qemu-system-arm –  1:9.0.2+ds-4ubuntu5.1
qemu-system-mips –  1:9.0.2+ds-4ubuntu5.1
qemu-system-misc –  1:9.0.2+ds-4ubuntu5.1
qemu-system-ppc –  1:9.0.2+ds-4ubuntu5.1
qemu-system-s390x –  1:9.0.2+ds-4ubuntu5.1
qemu-system-sparc –  1:9.0.2+ds-4ubuntu5.1
qemu-system-x86 –  1:9.0.2+ds-4ubuntu5.1
qemu-system-x86-xen –  1:9.0.2+ds-4ubuntu5.1
qemu-system-xen –  1:9.0.2+ds-4ubuntu5.1
24.04 noble qemu-system –  1:8.2.2+ds-0ubuntu1.4
qemu-system-arm –  1:8.2.2+ds-0ubuntu1.4
qemu-system-mips –  1:8.2.2+ds-0ubuntu1.4
qemu-system-misc –  1:8.2.2+ds-0ubuntu1.4
qemu-system-ppc –  1:8.2.2+ds-0ubuntu1.4
qemu-system-s390x –  1:8.2.2+ds-0ubuntu1.4
qemu-system-sparc –  1:8.2.2+ds-0ubuntu1.4
qemu-system-x86 –  1:8.2.2+ds-0ubuntu1.4
qemu-system-x86-xen –  1:8.2.2+ds-0ubuntu1.4
qemu-system-xen –  1:8.2.2+ds-0ubuntu1.4
22.04 jammy qemu –  1:6.2+dfsg-2ubuntu6.24
qemu-system –  1:6.2+dfsg-2ubuntu6.24
qemu-system-arm –  1:6.2+dfsg-2ubuntu6.24
qemu-system-mips –  1:6.2+dfsg-2ubuntu6.24
qemu-system-misc –  1:6.2+dfsg-2ubuntu6.24
qemu-system-ppc –  1:6.2+dfsg-2ubuntu6.24
qemu-system-s390x –  1:6.2+dfsg-2ubuntu6.24
qemu-system-sparc –  1:6.2+dfsg-2ubuntu6.24
qemu-system-x86 –  1:6.2+dfsg-2ubuntu6.24
qemu-system-x86-microvm –  1:6.2+dfsg-2ubuntu6.24
qemu-system-x86-xen –  1:6.2+dfsg-2ubuntu6.24
20.04 focal qemu –  1:4.2-3ubuntu6.30
qemu-system –  1:4.2-3ubuntu6.30
qemu-system-arm –  1:4.2-3ubuntu6.30
qemu-system-mips –  1:4.2-3ubuntu6.30
qemu-system-misc –  1:4.2-3ubuntu6.30
qemu-system-ppc –  1:4.2-3ubuntu6.30
qemu-system-s390x –  1:4.2-3ubuntu6.30
qemu-system-sparc –  1:4.2-3ubuntu6.30
qemu-system-x86 –  1:4.2-3ubuntu6.30
qemu-system-x86-microvm –  1:4.2-3ubuntu6.30
qemu-system-x86-xen –  1:4.2-3ubuntu6.30
18.04 bionic qemu –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-arm –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-mips –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-misc –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-ppc –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-s390x –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-sparc –  1:2.11+dfsg-1ubuntu7.42+esm2  
qemu-system-x86 –  1:2.11+dfsg-1ubuntu7.42+esm2  
16.04 xenial qemu –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-aarch64 –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-arm –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-common –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-mips –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-misc –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-ppc –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-s390x –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-sparc –  1:2.5+dfsg-5ubuntu10.51+esm3  
qemu-system-x86 –  1:2.5+dfsg-5ubuntu10.51+esm3  
14.04 trusty qemu –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-aarch64 –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-arm –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-common –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-mips –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-misc –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-ppc –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-sparc –  2.0.0+dfsg-2ubuntu1.47+esm4  
qemu-system-x86 –  2.0.0+dfsg-2ubuntu1.47+esm4  

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 ›