Divide By Zero Affecting imagemagick package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.09% (39th 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-DEBIAN11-IMAGEMAGICK-1247328
  • published1 Jun 2021
  • disclosed11 May 2021

Introduced: 11 May 2021

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

How to fix?

There is no fixed version for Debian:11 imagemagick.

NVD Description

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

A flaw was found in ImageMagick in versions before 7.0.11, where a division by zero in sRGBTransformImage() in the MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

CVSS Scores

version 3.1