Loop with Unreachable Exit Condition ('Infinite Loop') Affecting ImageMagick-doc package, versions <0:6.9.10.68-3.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.03% (87th 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-RHEL7-IMAGEMAGICKDOC-1524905
  • published26 Jul 2021
  • disclosed5 Oct 2018

Introduced: 5 Oct 2018

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

How to fix?

Upgrade RHEL:7 ImageMagick-doc to version 0:6.9.10.68-3.el7 or higher.
This issue was patched in RHSA-2020:1180.

NVD Description

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