Bug 1489848 (CVE-2017-14165)

Summary: CVE-2017-14165 GraphicsMagick: Excessive memory allocation in the ReadSUNImage function
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM 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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:24:58 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: 1475495, 1488444    
Bug Blocks:    

Description Andrej Nemec 2017-09-08 13:23:13 UTC
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to denial of service in the MagickMalloc function in magick/memory.c.

Upstream patch:

http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa

References:

https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/

Comment 1 Andrej Nemec 2017-09-08 13:24:17 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1488444]
Affects: fedora-all [bug 1475495]

Comment 2 Product Security DevOps Team 2019-06-08 03:24:58 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.