Out-of-bounds Write Affecting php72-pecl-imagick-debuginfo package, versions <0:3.4.4-1.9.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
5.44% (94th 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-PHP72PECLIMAGICKDEBUGINFO-1718169
  • published27 Sept 2021
  • disclosed3 May 2019

Introduced: 3 May 2019

CVE-2019-11037  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php72-pecl-imagick-debuginfo to version 0:3.4.4-1.9.amzn1 or higher.
This issue was patched in ALAS-2019-1237.

NVD Description

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

In PHP imagick extension in versions between 3.3.0 and 3.4.4, writing to an array of values in ImagickKernel::fromMatrix() function did not check that the address will be within the allocated array. This could lead to out of bounds write to memory if the function is called with the data controlled by untrusted party.