Integer Overflow or Wraparound Affecting imagemagick package, versions <8:6.7.7.10-6ubuntu3.13+esm1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (58th 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-UBUNTU1404-IMAGEMAGICK-1613916
  • published15 Apr 2021
  • disclosed11 May 2021

Introduced: 15 Apr 2021

CVE-2021-20312  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 imagemagick to version 8:6.7.7.10-6ubuntu3.13+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

A flaw was found in ImageMagick in versions 7.0.11, where an integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

CVSS Scores

version 3.1