Bug 1801665 (CVE-2019-16708)

Summary: CVE-2019-16708 ImageMagick: memory leak in magick/xwindow.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 DestroyXResources. An application that uses ImageMagick 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:05 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: 1801668, 1801669, 1812615    
Bug Blocks: 1801685    

Description Dhananjay Arunesh 2020-02-11 13:11:42 UTC
A vulnerability was found in ImageMagick 7.0.8-35 has a memory leak in magick/xwindow.c, related to XCreateImage.

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

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

Affects: epel-8 [bug 1801669]
Affects: fedora-all [bug 1801668]

Comment 2 Michael Cronenworth 2020-02-11 13:32:25 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 April 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:16 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 April 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:11 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:05 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-16708