Bug 1950839 - ImageMagick: division by zero vulnerability in ConvertRGBToHSV() in MagickCore/gem.c
Summary: ImageMagick: division by zero vulnerability in ConvertRGBToHSV() in MagickCor...
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: 1950841 1950842
Blocks: 1945062
TreeView+ depends on / blocked
 
Reported: 2021-04-19 02:55 UTC by Dhananjay Arunesh
Modified: 2021-04-23 14:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-04-23 14:14:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-04-19 02:55:12 UTC
A division-by-zero exception was found in ImageMagick in MagickCore/gem.c: ConvertRGBToHSV(). 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, but could also cause other problems related to undefined behavior. This bug affects ImageMagick versions prior to 7.0.11-2.

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

Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/53ec59917b4da74cd4a46ea48f3d3a8fdf4adbde
https://github.com/ImageMagick/ImageMagick6/commit/b3653027e9dc93d03917db602b83d15e70fee575

Comment 1 Dhananjay Arunesh 2021-04-19 02:55:43 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1950841]

Comment 2 Dhananjay Arunesh 2021-04-19 02:56:28 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1950842]

Comment 3 gkamathe 2021-04-23 14:13:31 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.