Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <15:4.2.1-15.module+el8.5.0+20482+a450964e


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (16th 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-ORACLE8-QEMUIMG-2596488
  • published10 Apr 2022
  • disclosed16 Mar 2022

Introduced: 16 Mar 2022

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

How to fix?

Upgrade Oracle:8 qemu-img to version 15:4.2.1-15.module+el8.5.0+20482+a450964e or higher.
This issue was patched in ELSA-2022-9172.

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:8 relevant fixed versions and status.

An infinite loop flaw was found in the e1000 NIC emulator of the QEMU. This issue occurs while processing transmits (tx) descriptors in process_tx_desc if various descriptor fields are initialized with invalid values. This flaw allows a guest to consume CPU cycles on the host, resulting in a denial of service. The highest threat from this vulnerability is to system availability.

CVSS Scores

version 3.1