Bug 1512047 (CVE-2017-16353)

Summary: CVE-2017-16353 ImageMagick, GraphicsMagick: memory information disclosure in DescribeImage function in magick/describe.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, fedora, jhorak, klember, mike, pahan, 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:31:01 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: 1512048, 1512049, 1515317    
Bug Blocks:    

Description Pedro Sampaio 2017-11-10 18:17:06 UTC
GraphicsMagick 1.3.26 is vulnerable to a memory information disclosure vulnerability found in the DescribeImage function of the magick/describe.c file, because of a heap-based buffer over-read. The portion of the code containing the vulnerability is responsible for printing the IPTC Profile information contained in the image. This vulnerability can be triggered with a specially crafted MIFF file. There is an out-of-bounds buffer dereference because certain increments are never checked. GM has it in magick/image.c and IM has it in magick/identify.c

Upstream patch:

http://hg.graphicsmagick.org/hg/GraphicsMagick?cmd=changeset;node=e4e1c2a581d8

References:

https://blogs.securiteam.com/index.php/archives/3494

Comment 1 Pedro Sampaio 2017-11-10 18:17:46 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1512049]


Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1512048]

Comment 2 Pedro Sampaio 2017-11-20 14:50:52 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: fedora-all [bug 1515317]