ArchLinux: 202005-6: qemu: multiple issues
Summary
- CVE-2019-20382 (denial of service)
A memory leak has been found in in the way VNC display driver of QEMU
<= 4.2.0 handled connection disconnect, when ZRLE, Tight encoding is
enabled. It creates two vncState objects, one of which allocates memory
for Zlib's data object. This allocated memory is not free'd upon
disconnection resulting in the said memory leakage issue.
A user able to connect to the VNC server could use this flaw to leak
host memory leading to a potential DoS scenario.
- CVE-2020-1711 (arbitrary code execution)
An out-of-bounds heap buffer access flaw was found in the way the iSCSI
Block driver in QEMU handled a response coming from an iSCSI server
while checking the status of a Logical Address Block (LBA) in an
iscsi_co_block_status() routine. A remote user could use this flaw to
crash the QEMU process, resulting in a denial of service or potential
execution of arbitrary code with privileges of the QEMU process on the
host.
- CVE-2020-7039 (arbitrary code execution)
A heap buffer overflow issue was found in the SLiRP networking
implementation of the QEMU emulator. This flaw occurs in the tcp_emu()
routine while emulating IRC and other protocols. An attacker could use
this flaw to crash the QEMU process on the host, resulting in a denial
of service or potential execution of arbitrary code with privileges of
the QEMU process.
Resolution
Upgrade to 5.0.0-1.
# pacman -Syu "qemu>=5.0.0-1"
The problems have been fixed upstream in version 5.0.0.
References
https://www.openwall.com/lists/oss-security/2020/03/05/1 https://gitlab.com/qemu-project/;a=commitdiff;h=6bf21f3d83e95bcc4ba35a7a07cc6655e8b010b0 https://www.openwall.com/lists/oss-security/2020/01/23/3 https://www.openwall.com/lists/oss-security/2020/01/16/2 https://security.archlinux.org/CVE-2019-20382 https://security.archlinux.org/CVE-2020-1711 https://security.archlinux.org/CVE-2020-7039
Workaround
None.