Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu package, versions <1:4.2-3ubuntu6.17


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU2004-QEMU-1085024
  • published11 Mar 2021
  • disclosed18 Mar 2021

Introduced: 11 Mar 2021

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

How to fix?

Upgrade Ubuntu:20.04 qemu to version 1:4.2-3ubuntu6.17 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu package and not the qemu package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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