Loop with Unreachable Exit Condition ('Infinite Loop') Affecting php55-pecl-imagick-debuginfo package, versions <0:3.4.4-2.15.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.17% (93rd 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-PHP55PECLIMAGICKDEBUGINFO-5889501
  • published8 Sept 2023
  • disclosed21 Aug 2018

Introduced: 21 Aug 2018

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

How to fix?

Upgrade Amazon-Linux:2018.03 php55-pecl-imagick-debuginfo to version 0:3.4.4-2.15.amzn1 or higher.
This issue was patched in ALAS-2023-1812.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php55-pecl-imagick-debuginfo package and not the php55-pecl-imagick-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

In ImageMagick 7.0.8-11 Q16, a tiny input file 0x50 0x36 0x36 0x36 0x36 0x4c 0x36 0x38 0x36 0x36 0x36 0x36 0x36 0x36 0x1f 0x35 0x50 0x00 can result in a hang of several minutes during which CPU and memory resources are consumed until ultimately an attempted large memory allocation fails. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.