Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <10:1.5.3-126.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-QEMUIMG-4626882
  • published26 Jul 2021
  • disclosed19 Jan 2016

Introduced: 19 Jan 2016

CVE-2016-1981  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade RHEL:7 qemu-img to version 10:1.5.3-126.el7 or higher.
This issue was patched in RHSA-2016:2585.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

QEMU (aka Quick Emulator) built with the e1000 NIC emulation support is vulnerable to an infinite loop issue. It could occur while processing data via transmit or receive descriptors, provided the initial receive/transmit descriptor head (TDH/RDH) is set outside the allocated descriptor buffer. A privileged user inside guest could use this flaw to crash the QEMU instance resulting in DoS.

CVSS Scores

version 3.1