Loop with Unreachable Exit Condition ('Infinite Loop') Affecting qemu-arm package, versions <3.1.1.1-9.6.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.06% (26th 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-SLES151-QEMUARM-2725934
  • published14 Apr 2022
  • disclosed12 Nov 2019

Introduced: 12 Nov 2019

CVE-2019-12068  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 qemu-arm to version 3.1.1.1-9.6.2 or higher.

NVD Description

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

CVSS Scores

version 3.1