CVE-2018-12617
Last modified
CVE-2018-12617 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 25.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Qemu | Qemu | <= 2.12.50 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
References
- http://www.securityfocus.com/bid/104531Third Party Advisory, VDB Entry
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlMailing List, Third Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.htmlMailing List, Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/76Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3826-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4454Third Party Advisory
- https://www.exploit-db.com/exploits/44925/Exploit, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/104531Third Party Advisory, VDB Entry
- https://gist.github.com/fakhrizulkifli/c7740d28efa07dafee66d4da5d857ef6Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/02/msg00041.htmlMailing List, Third Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg03385.htmlMailing List, Patch, Third Party Advisory
- https://seclists.org/bugtraq/2019/May/76Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3826-1/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4454Third Party Advisory
- https://www.exploit-db.com/exploits/44925/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-12617?
How severe is CVE-2018-12617?
How do I fix CVE-2018-12617?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-12609OX App Suite 7.8.4 and earlier allows Server-Side Request Fo…
- CVE-2018-1261Spring-integration-zip versions prior to 1.0.1 exposes an ar…4.7
- CVE-2018-12610OX App Suite 7.8.4 and earlier allows Information Exposure.
- CVE-2018-12611OX App Suite 7.8.4 and earlier allows Directory Traversal.
- CVE-2018-12613An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in…8.8
- CVE-2018-12615An issue was discovered in switchGroup() in agent/ExecHelper…
- CVE-2018-1262Cloud Foundry Foundation UAA, versions 4.12.X and 4.13.X, in…
- CVE-2018-12621An issue was discovered in Eventum 3.5.0. /htdocs/switch.php…
- CVE-2018-12622An issue was discovered in Eventum 3.5.0. htdocs/ajax/update…
- CVE-2018-12623An issue was discovered in Eventum 3.5.0. htdocs/switch.php …
- CVE-2018-12624An issue was discovered in Eventum 3.5.0. /htdocs/post_note.…
- CVE-2018-12625An issue was discovered in Eventum 3.5.0. /htdocs/validate.p…
Are you affected by CVE-2018-12617?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
