Bug 1554194 (CVE-2017-18220)

Summary: CVE-2017-18220 GraphicsMagick: Use after free in ReadOneJNGImage and ReadJNGImage functions in coders/png.c allow an attacker to cause a denial of service via crafted file
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: GraphicsMagick 1.3.27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:17:31 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: 1554188, 1554189, 1554195    
Bug Blocks:    

Description Sam Fowler 2018-03-12 03:45:24 UTC
GraphicsMagick through version 1.3.26 is vulnerable to a use after free in the ReadOneJNGImage and ReadJNGImage functions in coders/png.c. An attacker could exploit this to cause a denial of service via a crafted file.


Upstream Issue:

https://sourceforge.net/p/graphicsmagick/bugs/438/


Upstream Patch:

http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/98721124e51f

Comment 1 Sam Fowler 2018-03-12 03:46:23 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: fedora-all [bug 1554189]
Affects: epel-all [bug 1554188]