Fabrice Bellard QEMU 0.6/1.7.1 hw/net/virtio-net.c virtio_net_handle_mac Long Argument numeric error
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Fabrice Bellard QEMU 0.6/1.7.1 and classified as problematic. The impacted element is the function virtio_net_handle_mac of the file hw/net/virtio-net.c. This manipulation as part of Long Argument causes numeric error.
The identification of this vulnerability is CVE-2014-0150. There is no exploit available.
It is suggested to install a patch to address this issue.
Details
A vulnerability has been found in Fabrice Bellard QEMU 0.6/1.7.1 (Virtualization Software) and classified as problematic. Affected by this vulnerability is the function virtio_net_handle_mac of the file hw/net/virtio-net.c. The manipulation as part of a Long Argument leads to a numeric error vulnerability. The CWE definition for the vulnerability is CWE-189. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Integer overflow in the virtio_net_handle_mac function in hw/net/virtio-net.c in QEMU 2.0 and earlier allows local guest users to execute arbitrary code via a MAC addresses table update request, which triggers a heap-based buffer overflow.
The weakness was shared 04/11/2014 by Michael S. Tsirkin with Red Hat as [PATCH for-2.0] virtio-net: fix guest-triggerable buffer overrun as confirmed posting (Mailing List). The advisory is shared at thread.gmane.org. This vulnerability is known as CVE-2014-0150 since 12/03/2013. The exploitation appears to be easy. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available. Responsible for the vulnerability is the following code:
if (in_use + mac_data.entries <= MAC_TABLE_ENTRIES) { The advisory points out:When VM guest programs multicast addresses for a virtio net card, it supplies a 32 bit entries counter for the number of addresses. These addresses are read into tail portion of a fixed macs array which has size MAC_TABLE_ENTRIES, at offset equal to in_use.
The vulnerability scanner Nessus provides a plugin with the ID 73625 (Debian DSA-2909-1 : qemu - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 195460 (Ubuntu Security Notification for QEMU Vulnerabilities (USN-2182-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 immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:
if (mac_data.entries <= MAC_TABLE_ENTRIES - in_use) {The vulnerability is also documented in the databases at X-Force (92591), Tenable (73625), SecurityFocus (BID 66821†), Secunia (SA57878†) and Vulnerability Center (SBV-44288†). The entries VDB-12734, VDB-12735, VDB-12736 and VDB-12737 are related to this item. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://bellard.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.9VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.9
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Numeric errorCWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Unproven
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 73625
Nessus Name: Debian DSA-2909-1 : qemu - security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 702909
OpenVAS Name: Debian Security Advisory DSA 2909-1 (qemu - security update
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: git.qemu.org
Timeline
12/03/2013 🔍04/11/2014 🔍
04/11/2014 🔍
04/11/2014 🔍
04/15/2014 🔍
04/15/2014 🔍
04/18/2014 🔍
04/21/2014 🔍
04/22/2014 🔍
04/28/2014 🔍
05/11/2026 🔍
Sources
Vendor: bellard.orgAdvisory: [PATCH for-2.0] virtio-net: fix guest-triggerable buffer overrun
Researcher: Michael S. Tsirkin
Organization: Red Hat
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2014-0150 (🔍)
GCVE (CVE): GCVE-0-2014-0150
GCVE (VulDB): GCVE-100-13009
OVAL: 🔍
X-Force: 92591 - QEMU virtio_net_handle_mac() buffer overflow, Medium Risk
SecurityFocus: 66821 - Qemu 'virtio-net.c' Local Integer Overflow Vulnerability
Secunia: 57878 - Qemu virtio-net "virtio_net_handle_mac()" Integer Overflow Vulnerability, Not Critical
Vulnerability Center: 44288 - QEMU <2.0 Local Code Execution Vulnerability via MAC Addresses Table Update Request, Medium
See also: 🔍
Entry
Created: 04/22/2014 10:14Updated: 05/11/2026 08:58
Changes: 04/22/2014 10:14 (90), 05/26/2017 04:01 (4), 06/17/2021 13:25 (3), 05/11/2026 08:58 (16)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.