Loop with Unreachable Exit Condition ('Infinite Loop') Affecting imagemagick6 package, versions <6.9.10.39-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.24% (62nd 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-ALPINE39-IMAGEMAGICK6-342674
  • published7 Oct 2018
  • disclosed7 Oct 2018

Introduced: 7 Oct 2018

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

How to fix?

Upgrade Alpine:3.9 imagemagick6 to version 6.9.10.39-r0 or higher.

NVD Description

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

In ImageMagick 7.0.8-13 Q16, there is an infinite loop in the ReadBMPImage function of the coders/bmp.c file. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.