Improper Input Validation Affecting ImageMagick-doc package, versions <0:6.7.8.9-15.21.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.18% (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-AMZN201803-IMAGEMAGICKDOC-1698892
  • published27 Sept 2021
  • disclosed27 Feb 2017

Introduced: 27 Feb 2017

CVE-2016-5240  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ImageMagick-doc to version 0:6.7.8.9-15.21.amzn1 or higher.
This issue was patched in ALAS-2016-716.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The DrawDashPolygon function in magick/render.c in GraphicsMagick before 1.3.24 and the SVG renderer in ImageMagick allow remote attackers to cause a denial of service (infinite loop) by converting a circularly defined SVG file.

CVSS Base Scores

version 3.1