CVE-2018-12617 Integer overflow in n/a

High 7.5 Published Updated

An integer overflow in QEMU Guest Agent allows remote attackers to cause a denial of service via a crafted QMP command.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-12617?

CVE-2018-12617 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 21 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-190

Which versions are affected by CVE-2018-12617?

It affects 3 products.

Linux distribution packages (2)
qemu SUSE:Linux Enterprise Module for Basesystem 15All versions2.11.2-9.9.1
qemu SUSE:Linux Enterprise Module for Server Applications 15All versions2.11.2-9.9.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Qemu Qemu.

How do I fix CVE-2018-12617?

Apply the vendor's patch.

Is CVE-2018-12617 being exploited?

There is no known exploitation of CVE-2018-12617 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-12617, GHSA-prpr-q2gp-hgw2, SUSE-SU-2018:2679-1, UBUNTU-CVE-2018-12617.

Is CVE-2018-12617 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free