Bug 1950852

Summary: ImageMagick: division by zero vulnerability in XListBrowserWidget() in MagickCore/widget.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, jhorak, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-23 14:18:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1950853, 1950854    
Bug Blocks: 1945062    

Description Dhananjay Arunesh 2021-04-19 03:04:55 UTC
A division-by-zero exception was found in ImageMagick in MagickCore/widget.c: XListBrowserWidget(). 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/3336

Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/caae805079001b97d7f76a9ae6e3d16dbcc306d8
https://github.com/ImageMagick/ImageMagick6/commit/5d33b8df73b0b1e40ee3fb7a334d28d929ae903c

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

Affects: epel-8 [bug 1950854]
Affects: fedora-all [bug 1950853]

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

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