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


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (57th 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-1623687
  • published11 Jun 2021
  • disclosed11 May 2021

Introduced: 11 May 2021

CVE-2021-20309  (opens in a new tab)
CWE-369  (opens in a new tab)

How to fix?

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

A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. The highest threat from this vulnerability is to system availability.

CVSS Scores

version 3.1