qemu is vulnerable to integer overflow. qmp_guest_file_read in qga/commands-posix.c and qga/commands-win32.c in qemu-ga (aka QEMU Guest Agent) has an integer overflow causing a g_malloc0() call to trigger a segmentation fault when trying to allocate a large memory chunk. The vulnerability can be exploited by sending a crafted QMP command (including guest-file-read with a large count value) to the agent via the listening socket.
CPE | Name | Operator | Version |
---|---|---|---|
qemu:bionic | eq | 1:2.11+dfsg-1ubuntu7 | |
qemu:xenial | eq | 1:2.5+dfsg-5ubuntu10 |
www.securityfocus.com/bid/104531
gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6
lists.debian.org/debian-lts-announce/2019/02/msg00041.html
lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html
seclists.org/bugtraq/2019/May/76
usn.ubuntu.com/3826-1/
www.debian.org/security/2019/dsa-4454
www.exploit-db.com/exploits/44925/