National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-12617 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (V3.0 legend)
Impact Score: 3.6
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): None
Integrity (I): None
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): None
Integrity (I): None
Availability (A): Partial
Additional Information:
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/104531 Third Party Advisory VDB Entry
https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6 Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html Mailing List Third Party Advisory
https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.html Patch Third Party Advisory
https://seclists.org/bugtraq/2019/May/76
https://usn.ubuntu.com/3826-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4454
https://www.exploit-db.com/exploits/44925/ Exploit Third Party Advisory VDB Entry

Technical Details

Vulnerability Type (View All)

  • Integer Overflow or Wraparound (CWE-190)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.12.50

Configuration 2 ( hide )
 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

8 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-12617
NVD Published Date:
06/21/2018
NVD Last Modified:
05/31/2019