CVE-2018-12617

qemu: 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.5...

CVE-2018-12617 is fixed in 17 products on 1 platform, first by qemu 1:2.11+dfsg-1ubuntu7.8, released November 19, 2018. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.2460
97th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
qemu · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-block-extra · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-block-extra 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-guest-agent · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-guest-agent 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-kvm · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-kvm 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-arm · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-arm 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-common · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-common 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-mips · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-mips 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-misc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-misc 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-ppc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-ppc 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-s390x · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-s390x 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-sparc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-sparc 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-system-x86 · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-system-x86 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-user · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-user 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-user-binfmt · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-user-binfmt 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-user-static · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-user-static 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018
qemu-utils · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.8 qemu-utils 1:2.11+dfsg-1ubuntu7.8 Nov 19, 2018

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.