Excessive Iteration Affecting imagemagick package, versions <8:6.9.9.34+dfsg-3


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.72% (82nd 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-DEBIAN11-IMAGEMAGICK-531869
  • published7 Sept 2017
  • disclosed7 Sept 2017

Introduced: 7 Sep 2017

CVE-2017-14174  (opens in a new tab)
CWE-834  (opens in a new tab)

How to fix?

Upgrade Debian:11 imagemagick to version 8:6.9.9.34+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

In coders/psd.c in ImageMagick 7.0.7-0 Q16, a DoS in ReadPSDLayersInternal() due to lack of an EOF (End of File) check might cause huge CPU consumption. When a crafted PSD file, which claims a large "length" field in the header but does not contain sufficient backing data, is provided, the loop over "length" would consume huge CPU resources, since there is no EOF check inside the loop.

CVSS Scores

version 3.1