Improper Input Validation Affecting GraphicsMagick-c++ package, versions <0:1.3.28-1.12.amzn1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.25% (64th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-GRAPHICSMAGICKC-1710561
  • published27 Sept 2021
  • disclosed23 Aug 2017

Introduced: 23 Aug 2017

CVE-2017-13147  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 GraphicsMagick-c++ to version 0:1.3.28-1.12.amzn1 or higher.
This issue was patched in ALAS-2018-966.

NVD Description

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

In GraphicsMagick 1.3.26, an allocation failure vulnerability was found in the function ReadMNGImage in coders/png.c when a small MNG file has a MEND chunk with a large length value.