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
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.2$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.9
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Numeric error
CWE: CWE-189
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Unproven

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: git.qemu.org

Timelineinfo

12/03/2013 🔍
04/11/2014 +129 days 🔍
04/11/2014 +0 days 🔍
04/11/2014 +0 days 🔍
04/15/2014 +4 days 🔍
04/15/2014 +0 days 🔍
04/18/2014 +3 days 🔍
04/21/2014 +3 days 🔍
04/22/2014 +1 days 🔍
04/28/2014 +6 days 🔍
05/11/2026 +4396 days 🔍

Sourcesinfo

Vendor: bellard.org

Advisory: [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: 🔍

Entryinfo

Created: 04/22/2014 10:14
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!