Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <15:4.2.0-48.module+el8.4.0+11909+3300d70f.3


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.05% (20th 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 ID SNYK-CENTOS8-QEMUIMG-2116217
  • published 26 Jul 2021
  • disclosed 24 Feb 2021

How to fix?

Upgrade Centos:8 qemu-img to version 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 or higher.

NVD Description

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

NVD

6 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    High
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

Red Hat

3.2 low
Expand this section

SUSE

3.2 low