Improper Input Validation Affecting ImageMagick/ImageMagick package, versions [,6.9.9-3)[7.0.1-0,7.0.6-3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.48% (73rd 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-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-3007839
  • published26 Jan 2022
  • disclosed7 Aug 2017
  • creditUnknown

Introduced: 7 Aug 2017

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

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.9-3, 7.0.6-3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In ImageMagick 7.0.6-3, missing validation was found in coders/mat.c, leading to an assertion failure in the function DestroyImage in MagickCore/image.c, which allows attackers to cause a denial of service.

CVSS Base Scores

version 3.1