qmp_guest_file_read in qga/commands-posix.c and qga/commands-win32.c in qemu-ga (aka QEMU Guest Agent) in QEMU 2.12.50 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.
References
Link Resource
http://www.securityfocus.com/bid/104531 Third Party Advisory VDB Entry
https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html Mailing List Third Party Advisory
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Mailing List Patch Third Party Advisory
https://seclists.org/bugtraq/2019/May/76 Mailing List Third Party Advisory
https://usn.ubuntu.com/3826-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4454 Third Party Advisory
https://www.exploit-db.com/exploits/44925/ Exploit Third Party Advisory VDB Entry
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2018-06-21T18:00:00

Updated: 2019-05-31T13:06:05

Reserved: 2018-06-21T00:00:00


Link: CVE-2018-12617

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2018-06-21T18:29:00.233

Modified: 2020-11-19T16:35:52.747


Link: CVE-2018-12617

JSON object: View

cve-icon Redhat Information

No data.

CWE