Missing Release of Resource after Effective Lifetime Affecting php-pecl-imagick-debuginfo package, versions <0:3.4.4-1.8.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.71% (77th 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-PHPPECLIMAGICKDEBUGINFO-1723893
  • published27 Sept 2021
  • disclosed27 Mar 2018

Introduced: 27 Mar 2018

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

How to fix?

Upgrade Amazon-Linux:2018.03 php-pecl-imagick-debuginfo to version 0:3.4.4-1.8.amzn1 or higher.
This issue was patched in ALAS-2020-1391.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-pecl-imagick-debuginfo package and not the php-pecl-imagick-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

An issue was discovered in ImageMagick 7.0.7. A memory leak vulnerability was found in the function ReadPCDImage in coders/pcd.c, which allow remote attackers to cause a denial of service via a crafted file.