Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu package, versions <1:3.1+dfsg-8+deb10u5


0.0
low

Snyk CVSS

    Attack Complexity Low
    Scope Changed

    Threat Intelligence

    EPSS 0.05% (15th percentile)
Expand this section
NVD
3.8 low
Expand this section
SUSE
4.4 medium
Expand this section
Red Hat
4.3 medium

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-DEBIAN10-QEMU-458889
  • published 9 Aug 2019
  • disclosed 24 Sep 2019

How to fix?

Upgrade Debian:10 qemu to version 1:3.1+dfsg-8+deb10u5 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:10 relevant fixed versions and status.

In QEMU 1:4.1-1, 1:2.1+dfsg-12+deb8u6, 1:2.8+dfsg-6+deb9u8, 1:3.1+dfsg-8~deb10u1, 1:3.1+dfsg-8+deb10u2, and 1:2.1+dfsg-12+deb8u12 (fixed), when executing script in lsi_execute_script(), the LSI scsi adapter emulator advances 's->dsp' index to read next opcode. This can lead to an infinite loop if the next opcode is empty. Move the existing loop exit after 10k iterations so that it covers no-op opcodes as well.