QEMU hw/display/virtio-gpu.c virtio_gpu_resource_attach_backing resource management
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in QEMU. It has been rated as problematic. Impacted is the function virtio_gpu_resource_attach_backing of the file hw/display/virtio-gpu.c. The manipulation leads to resource management.
This vulnerability is uniquely identified as CVE-2017-5578. Local access is required to approach this attack. No exploit exists.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability, which was classified as problematic, has been found in QEMU (Virtualization Software) (version unknown). This issue affects the function virtio_gpu_resource_attach_backing of the file hw/display/virtio-gpu.c. The manipulation with an unknown input leads to a resource management vulnerability. Using CWE to declare the problem leads to CWE-399. Impacted is availability. The summary by CVE is:
Memory leak in the virtio_gpu_resource_attach_backing function in hw/display/virtio-gpu.c in QEMU (aka Quick Emulator) allows local guest OS users to cause a denial of service (host memory consumption) via a large number of VIRTIO_GPU_CMD_RESOURCE_ATTACH_BACKING commands.
The bug was discovered 01/23/2017. The weakness was disclosed 03/15/2017 by Li Qiang with 360.cn Inc. (oss-sec). It is possible to read the advisory at openwall.com. The identification of this vulnerability is CVE-2017-5578 since 01/25/2017. The exploitation is known to be easy. Attacking locally is a requirement. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 29 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 97271 (GLSA-201702-28 : QEMU: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196764 (Ubuntu Security Notification for Qemu Vulnerabilities (USN-3268-1)).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.qemu.org. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (97271) and SecurityFocus (BID 95781†). The entries VDB-98151, VDB-98123, VDB-98146 and VDB-98148 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
License
Website
- Product: https://www.qemu.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.0
VulDB Temp Score: 3.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Resource managementCWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 97271
Nessus Name: GLSA-201702-28 : QEMU: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 867773
OpenVAS Name: Fedora Update for qemu FEDORA-2017-31b976672b
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.qemu.org
Timeline
01/23/2017 🔍01/25/2017 🔍
01/25/2017 🔍
02/21/2017 🔍
02/21/2017 🔍
03/15/2017 🔍
03/15/2017 🔍
03/16/2017 🔍
09/08/2020 🔍
Sources
Product: qemu.orgAdvisory: openwall.com
Researcher: Li Qiang
Organization: 360.cn Inc.
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-5578 (🔍)
GCVE (CVE): GCVE-0-2017-5578
GCVE (VulDB): GCVE-100-98147
SecurityFocus: 95781 - QEMU 'virtio-gpu.c' Denial of Service Vulnerability
OSVDB: - CVE-2017-5578 - QEMU - Denial of Service Issue
See also: 🔍
Entry
Created: 03/16/2017 13:36Updated: 09/08/2020 16:02
Changes: 03/16/2017 13:36 (79), 09/08/2020 16:02 (3)
Complete: 🔍
Cache ID: 216:57C:103
No comments yet. Languages: en.
Please log in to comment.