Use After Free Affecting GraphicsMagick-perl package, versions <0:1.3.26-3.11.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
28.31% (99th 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-GRAPHICSMAGICKPERL-1708459
  • published27 Sept 2021
  • disclosed18 Jul 2017

Introduced: 18 Jul 2017

CVE-2017-11403  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 GraphicsMagick-perl to version 0:1.3.26-3.11.amzn1 or higher.
This issue was patched in ALAS-2017-891.

NVD Description

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

The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 has an out-of-order CloseBlob call, resulting in a use-after-free via a crafted file.