Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu package, versions <2.0.0+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-DEBIAN13-QEMU-5693818
  • published27 Jun 2018
  • disclosed29 Sept 2022

Introduced: 27 Jun 2018

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

How to fix?

Upgrade Debian:13 qemu to version 2.0.0+dfsg-1 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 Debian. See How to fix? for Debian:13 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