CVE-2017-6058: Buffer Overflow

Published Feb 17, 2017
·
Updated

Buffer overflow in NetRxPkt::ehdrbuf in hw/net/netrxpkt.c in QEMU (aka Quick Emulator), when the VLANSTRIP feature is enabled on the vmxnet3 device, allows remote attackers to cause a denial of service (out-of-bounds access and QEMU process crash) via vectors related to VLAN stripping.

Other sources

Quick Emulator(Qemu) built with the VMWARE VMXNET3 NIC device support is vulnerable to an out-of-bounds access issue. It could occur while stripping VLAN header from 'ethbuf' buffer in receiving packets.

A remote user/process could use this issue to crash Qemu process instance resulting in DoS.

Note:- It requires 'VLANSTRIP' feature is enabled on the vmxnet3 device.

Upstream patch: --------------- -> https://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg03527.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/02/17/2

Red Hat

Affected Software

1 affected component
Qemu Qemu<=2.8.1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Disable the VLANSTRIP feature on the vmxnet3 device in the affected QEMU configuration, since the out-of-bounds access/DoS requires VLANSTRIP to be enabled.

    QEMU (hw/net/net_rx_pkt.c / vmxnet3) VLANSTRIP feature on vmxnet3 = disabled

Event History

Feb 17, 2017
Data Sourced
via Red Hat·05:50 AM
DescriptionSeverityAffected Software
Mar 20, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-6058?

CVE-2017-6058 has a severity rating that signifies a denial of service risk due to a buffer overflow vulnerability.

2

How do I fix CVE-2017-6058?

To fix CVE-2017-6058, upgrade QEMU to a version greater than 2.8.1.1 to mitigate the buffer overflow vulnerability.

3

What software is affected by CVE-2017-6058?

CVE-2017-6058 affects QEMU versions up to and including 2.8.1.1 when the VLANSTRIP feature is enabled.

4

What type of attack does CVE-2017-6058 allow?

CVE-2017-6058 allows remote attackers to execute a denial of service attack, leading to an out-of-bounds access and crash of the QEMU process.

5

What feature in QEMU is linked to CVE-2017-6058?

The buffer overflow vulnerability in CVE-2017-6058 is linked to the VLANSTRIP feature when used with the vmxnet3 device.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203