Vulnerability Details : CVE-2018-12617
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2018-12617
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
- cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-12617
10.49%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 95 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-12617
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2018-12617
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-12617
-
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html
[Qemu-devel] [PATCH] qga: check bytes count read by guest-file-readMailing List;Patch;Third Party Advisory
-
https://www.debian.org/security/2019/dsa-4454
Debian -- Security Information -- DSA-4454-1 qemuThird Party Advisory
-
https://seclists.org/bugtraq/2019/May/76
Bugtraq: [SECURITY] [DSA 4454-1] qemu security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html
[SECURITY] [DLA 1694-1] qemu security updateMailing List;Third Party Advisory
-
http://www.securityfocus.com/bid/104531
QEMU CVE-2018-12617 Multiple Local Denial of Service VulnerabilitiesThird Party Advisory;VDB Entry
-
https://www.exploit-db.com/exploits/44925/
QEMU Guest Agent 2.12.50 - Denial of ServiceExploit;Third Party Advisory;VDB Entry
-
https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6
CVE-2018-12617 ยท GitHubExploit;Third Party Advisory
-
https://usn.ubuntu.com/3826-1/
USN-3826-1: QEMU vulnerabilities | Ubuntu security noticesThird Party Advisory
Jump to