Improper Input Validation Affecting GraphicsMagick package, versions <0:1.3.24-1.8.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
49.98% (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-GRAPHICSMAGICK-1698962
  • published27 Sept 2021
  • disclosed10 Jun 2016

Introduced: 10 Jun 2016

CVE-2016-5118  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 GraphicsMagick to version 0:1.3.24-1.8.amzn1 or higher.
This issue was patched in ALAS-2016-717.

NVD Description

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

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at the start of a filename.

CVSS Base Scores

version 3.1