Integer Overflow or Wraparound Affecting qemu package, versions <1:3.1+dfsg-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN12-QEMU-1558184
- published 21 Jun 2018
- disclosed 21 Jun 2018
Introduced: 21 Jun 2018
CVE-2018-12617 Open this link in a new tabHow to fix?
Upgrade Debian:12
qemu
to version 1:3.1+dfsg-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu
package and not the qemu
package as distributed by Debian
.
See How to fix?
for Debian:12
relevant fixed versions and status.
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
- https://security-tracker.debian.org/tracker/CVE-2018-12617
- https://seclists.org/bugtraq/2019/May/76
- https://www.debian.org/security/2019/dsa-4454
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html
- https://www.exploit-db.com/exploits/44925/
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html
- http://www.securityfocus.com/bid/104531
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-12617
- https://usn.ubuntu.com/3826-1/
- https://www.exploit-db.com/exploits/44925