Improper Input Validation Affecting ImageMagick/ImageMagick package, versions [,6.9.8.post8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.57% (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-3007686
  • published26 Jan 2022
  • disclosed23 Aug 2017
  • creditUnknown

Introduced: 23 Aug 2017

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

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.8.post8 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.

CVSS Base Scores

version 3.1