CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Qemu

CVE-2018-12617
Qemu vulnerability

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.

Affected products

Qemu, Ubuntu Linux, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Qemu runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Qemu products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.