Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-img package, versions <2:0.12.1.2-2.415.el6_5.8


Severity

Recommended
0.0
medium
0
10

Based on CentOS 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-CENTOS6-QEMUIMG-2097394
  • published26 Jul 2021
  • disclosed26 Mar 2014

Introduced: 26 Mar 2014

CVE-2014-0148  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Centos:6 qemu-img to version 2:0.12.1.2-2.415.el6_5.8 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:6 relevant fixed versions and status.

Qemu before 2.0 block driver for Hyper-V VHDX Images is vulnerable to infinite loops and other potential issues when calculating BAT entries, due to missing bounds checks for block_size and logical_sector_size variables. These are used to derive other fields like 'sectors_per_block' etc. A user able to alter the Qemu disk image could ise this flaw to crash the Qemu instance resulting in DoS.

CVSS Scores

version 3.1