Bug 1801667 (CVE-2019-16710)

Summary: CVE-2019-16710 ImageMagick: memory leak in coders/dot.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA 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: ImageMagick 7.0.8-36, ImageMagick 6.9.10-36 Doc Type: If docs needed, set a value
Doc Text:
A memory leak was discovered in ImageMagick in function ReadDOTImage. An application that uses ImageMagick to parse DOT images may be vulnerable to this flaw and crash due to some memory that is never freed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:36:07 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: 1801670, 1801671, 1812616    
Bug Blocks: 1801685    

Description Dhananjay Arunesh 2020-02-11 13:13:38 UTC
A vulnerability was found in ImageMagick 7.0.8-35 has a memory leak in coders/dot.c, as demonstrated by AcquireMagickMemory in MagickCore/memory.c.

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

Comment 1 Dhananjay Arunesh 2020-02-11 13:14:16 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1801671]
Affects: fedora-all [bug 1801670]

Comment 2 Michael Cronenworth 2020-02-11 13:31:06 UTC
Do you have any evidence that this CVE affects the ImageMagick packages in Fedora or EPEL?

- The CVE reports this against version 7.x and not 6.x.
- Fedora and EPEL only ship version 6.x.
- The 7.x fix was made in March 2019.
- The 6.x version in Fedora and EPEL are from source dated January 2020.

Please update and close any bugs as I do not believe they affect Fedora or EPEL. If this is the case please update your scripts to not spam me again.

Comment 3 Dhananjay Arunesh 2020-02-11 14:51:02 UTC
In reply to comment #2:
> Do you have any evidence that this CVE affects the ImageMagick packages in
> Fedora or EPEL?
> 
> - The CVE reports this against version 7.x and not 6.x.
> - Fedora and EPEL only ship version 6.x.
> - The 7.x fix was made in March 2019.
> - The 6.x version in Fedora and EPEL are from source dated January 2020.
> 
> Please update and close any bugs as I do not believe they affect Fedora or
> EPEL. If this is the case please update your scripts to not spam me again.


As per our manifest file we ship ImageMagick 6.x in fedora and epel, the reported issue was in 7.x. Just to double check whether 6.x is affected or not marked fedora and epel as affected

Comment 6 errata-xmlrpc 2020-03-31 19:33:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 7 Product Security DevOps Team 2020-03-31 22:36:07 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-16710