CVE-2018-12617
Published: 21 June 2018
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.
Priority
Status
Package | Release | Status |
---|---|---|
qemu Launchpad, Ubuntu, Debian |
artful |
Ignored
(end of life)
|
bionic |
Released
(1:2.11+dfsg-1ubuntu7.8)
|
|
cosmic |
Released
(1:2.12+dfsg-3ubuntu8.1)
|
|
disco |
Released
(1:2.12+dfsg-3ubuntu9)
|
|
eoan |
Released
(1:2.12+dfsg-3ubuntu9)
|
|
focal |
Released
(1:2.12+dfsg-3ubuntu9)
|
|
groovy |
Released
(1:2.12+dfsg-3ubuntu9)
|
|
hirsute |
Released
(1:2.12+dfsg-3ubuntu9)
|
|
trusty |
Released
(2.0.0+dfsg-2ubuntu1.44)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(1:2.5+dfsg-5ubuntu10.33)
|
|
Patches: upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=141b197408ab398c4f474ac1a728ab316e921f2b |
||
qemu-kvm Launchpad, Ubuntu, Debian |
artful |
Does not exist
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
eoan |
Does not exist
|
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |