Off-by-one Error Affecting php71-pecl-imagick-devel package, versions <0:3.4.4-2.8.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.23% (62nd 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-PHP71PECLIMAGICKDEVEL-5889202
  • published8 Sept 2023
  • disclosed5 Jul 2019

Introduced: 5 Jul 2019

CVE-2019-13304  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php71-pecl-imagick-devel to version 0:3.4.4-2.8.amzn1 or higher.
This issue was patched in ALAS-2023-1814.

NVD Description

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

ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment.

CVSS Scores

version 3.1