Bug 1946728 (CVE-2021-20310) - CVE-2021-20310 ImageMagick: Division by zero in ConvertXYZToJzazbz() of MagickCore/colorspace.c
Summary: CVE-2021-20310 ImageMagick: Division by zero in ConvertXYZToJzazbz() of Magic...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-20310
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: 1946729 1946732 Red Hat1947266
Blocks: Embargoed1946747 Red Hat1946749
TreeView+ depends on / blocked
 
Reported: 2021-04-06 18:36 UTC by Pedro Sampaio
Modified: 2021-11-02 23:27 UTC (History)
4 users (show)

Fixed In Version: ImageMagick 7.0.11
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in ImageMagick, where a division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.
Clone Of:
Environment:
Last Closed: 2021-11-02 23:27:53 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2021-04-06 18:36:08 UTC
A flaw was found in ImageMagick before version 7.0.11. A division by zero ConvertXYZToJzazbz() of MagickCore/colorspace.c may trigger undefined behavior via crafted image file.

Upstream issue:

https://github.com/ImageMagick/ImageMagick/issues/3295

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/75f6f5032690077cae3eaeda3c0165cc765eaeb5

Comment 1 Pedro Sampaio 2021-04-06 18:36:38 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1946729]
Affects: fedora-all [bug 1946732]

Comment 2 Todd Cullum 2021-04-06 21:13:10 UTC
Statement:

This flaw is out of support scope for Red Hat Enterprise Linux 6 and 7. It does not affect Red Hat Enterprise Linux 8 because the ImageMagick package is not shipped. To learn more about Red Hat Enterprise Linux support scope, please see https://access.redhat.com/support/policy/updates/errata/ .


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