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


Severity

Recommended
0.0
low
0
10

Based on Amazon 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-AMZN2-QEMUGUESTAGENT-5663392
  • published1 Jun 2023
  • 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 Amazon-Linux:2 qemu-guest-agent to version 10:3.1.0-8.amzn2.0.9 or higher.
This issue was patched in ALAS2-2023-2060.

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.

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