Loop with Unreachable Exit Condition ('Infinite Loop') Affecting virt:rhel/lua-guestfs package, versions <1:1.40.2-28.module+el8.5.0+10717+67be7ac4


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise 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-RHEL8-VIRT-4177185
  • published26 Jul 2021
  • disclosed10 Feb 2021

Introduced: 10 Feb 2021

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

How to fix?

Upgrade RHEL:8 virt:rhel/lua-guestfs to version 1:1.40.2-28.module+el8.5.0+10717+67be7ac4 or higher.
This issue was patched in RHSA-2021:5238.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:rhel/lua-guestfs package and not the virt:rhel/lua-guestfs package as distributed by RHEL. See How to fix? for RHEL: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