Bug 1950869 - ImageMagick: division by zero vulnerability in DistortImage() in MagickCore/distort.c
Summary: ImageMagick: division by zero vulnerability in DistortImage() in MagickCore/d...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1950870 1950871
Blocks: 1945062
TreeView+ depends on / blocked
 
Reported: 2021-04-19 03:13 UTC by Dhananjay Arunesh
Modified: 2021-04-23 14:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-23 14:23:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-04-19 03:13:20 UTC
A division-by-zero exception was found in ImageMagick in MagickCore/distort.c: DistortImage(). An attacker can submit a crafted file to ImageMagick and trigger the division-by-zero exception. It most likely will lead to a DoS attack affecting servers' availability, but could also cause other problems related to undefined behavior. This bug affects ImageMagick versions prior to 7.0.11-2 (included).

Reference:
https://github.com/ImageMagick/ImageMagick/issues/3331

Upstream patch:
https://github.com/ImageMagick/ImageMagick6/commit/4eafab89a2742865d770857a9d7434993f65ae6b
https://github.com/ImageMagick/ImageMagick/commit/f8e8535bc821f24a30beee0030ff21ee3a2deedc

Comment 1 Dhananjay Arunesh 2021-04-19 03:13:48 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1950871]
Affects: fedora-all [bug 1950870]

Comment 2 gkamathe 2021-04-23 14:23:14 UTC
Statement:

Red Hat does not consider a division-by-zero in ImageMagick to be a security flaw


Note You need to log in before you can comment on or make changes to this bug.