Integer overflow in Qemu
CVE-2018-12617
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.246, 97.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Qemu
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update (mailing-list, Mailing List, Third Party Advisory)
- gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 (Exploit, Third Party Advisory)
- USN-3826-1 (vendor-advisory, Third Party Advisory)
- lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html (Patch, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/104531 (Third Party Advisory, VDB Entry, vdb-entry)
- www.exploit-db.com/exploits/44925/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- DSA-4454 (vendor-advisory, Third Party Advisory)
- 20190531 [SECURITY] [DSA 4454-1] qemu security update (mailing-list, Mailing List, Third Party Advisory)