Loop with Unreachable Exit Condition ('Infinite Loop') Affecting ImageMagick-c++-devel package, versions <0:6.9.10.68-3.22.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
3.17% (88th 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-AMZN201803-IMAGEMAGICKCDEVEL-6467725
  • published20 Mar 2024
  • disclosed30 Mar 2018

Introduced: 30 Mar 2018

CVE-2018-9133  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ImageMagick-c++-devel to version 0:6.9.10.68-3.22.amzn1 or higher.
This issue was patched in ALAS-2024-1926.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-c++-devel package and not the ImageMagick-c++-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

ImageMagick 7.0.7-26 Q16 has excessive iteration in the DecodeLabImage and EncodeLabImage functions (coders/tiff.c), which results in a hang (tens of minutes) with a tiny PoC file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted tiff file.