Loop with Unreachable Exit Condition ('Infinite Loop')
CVE-2014-0148
Summary
Qemu versions prior to v2.0.0-rc1 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 use this flaw to crash the Qemu instance resulting in DoS.
- LOW
- LOCAL
- NONE
- UNCHANGED
- NONE
- LOW
- NONE
- HIGH
CWE-835 - Loop with Unreachable Exit Condition
Loops with multiple exits and flags detract from the quality of an application. They tend to make control structures difficult to understand, and introduce the risk of non-termination and other structural problems. The vulnerability “loop with unreachable exit condition” enables attackers to exploit this flaw, leading to denial of service.
Advisory Timeline
- Published