Loop with Unreachable Exit Condition ('Infinite Loop') Affecting virt-devel:rhel/python3-libnbd package, versions <0:1.2.2-1.module+el8.3.0+7353+9de0a3cc


Severity

Recommended
medium

Based on Red Hat Enterprise 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-RHEL8-VIRTDEVEL-4070679
  • published26 Jul 2021
  • disclosed24 Feb 2021

Introduced: 24 Feb 2021

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

How to fix?

Upgrade RHEL:8 virt-devel:rhel/python3-libnbd to version 0:1.2.2-1.module+el8.3.0+7353+9de0a3cc or higher.
This issue was patched in RHSA-2021:3061.

NVD Description

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