Improper Input Validation Affecting ImageMagick-doc package, versions <0:6.7.8.9-15.21.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-IMAGEMAGICKDOC-1698844
  • 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 ImageMagick-doc to version 0:6.7.8.9-15.21.amzn1 or higher.
This issue was patched in ALAS-2016-716.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-doc package and not the ImageMagick-doc 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