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


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (21st 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-ORACLE7-QEMUIMG-2603903
  • published10 Apr 2022
  • disclosed18 Mar 2021

Introduced: 18 Mar 2021

CVE-2021-3416  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Oracle:7 qemu-img to version 15:4.2.1-15.el7 or higher.
This issue was patched in ELSA-2022-9123.

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 Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.

CVSS Scores

version 3.1