Bug 1950875 - ImageMagick: division by zero vulnerability in TraceStrokePolygon() in MagickCore/draw.c
Summary: ImageMagick: division by zero vulnerability in TraceStrokePolygon() in Magick...
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: 1950876 1950877
Blocks: 1945062
TreeView+ depends on / blocked
 
Reported: 2021-04-19 03:18 UTC by Dhananjay Arunesh
Modified: 2021-04-23 14:25 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:25:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-04-19 03:18:02 UTC
A division-by-zero exception was found in ImageMagick in MagickCore/draw.c: TraceStrokePolygon(). 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/3339

Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/24c88041d53853406ee710e144da495ae8e0f874
https://github.com/ImageMagick/ImageMagick6/commit/9a94877f7823b0b8a41d50638dd105229d91fa89

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

Affects: epel-8 [bug 1950877]
Affects: fedora-all [bug 1950876]

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