Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-guest-agent package, versions <10:3.1.0-8.amzn2.0.11


Severity

Recommended
medium

Based on Amazon 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-AMZN2-QEMUGUESTAGENT-5789615
  • published20 Jul 2023
  • 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 Amazon-Linux:2 qemu-guest-agent to version 10:3.1.0-8.amzn2.0.11 or higher.
This issue was patched in ALAS2-2023-2148.

NVD Description

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