Missing Release of Resource after Effective Lifetime Affecting ImageMagick-doc package, versions <0:6.9.10.68-3.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.43% (74th 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-AMZN2-IMAGEMAGICKDOC-1684368
  • published27 Sept 2021
  • disclosed10 Jul 2017

Introduced: 10 Jul 2017

CVE-2017-11166  (opens in a new tab)
CWE-772  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ImageMagick-doc to version 0:6.9.10.68-3.amzn2.0.1 or higher.
This issue was patched in ALAS2-2020-1497.

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:2 relevant fixed versions and status.

The ReadXWDImage function in coders\xwd.c in ImageMagick 7.0.5-6 has a memory leak vulnerability that can cause memory exhaustion via a crafted length (number of color-map entries) field in the header of an XWD file.