Divide By Zero Affecting imagemagick package, versions <8:6.8.9.9-7ubuntu5.16+esm2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (34th 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-UBUNTU1604-IMAGEMAGICK-1126384
  • published11 Jun 2021
  • disclosed9 Mar 2021

Introduced: 9 Mar 2021

CVE-2021-20243  (opens in a new tab)
CWE-369  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Ubuntu:16.04 imagemagick to version 8:6.8.9.9-7ubuntu5.16+esm2 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:16.04 relevant fixed versions and status.

A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.

CVSS Scores

version 3.1