Bug 1486776 (CVE-2017-13132)

Summary: CVE-2017-13132 ImageMagick: Assertion failure WriteBlobStream function in MagickCore/blob.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: abhgupta, dan, fedora, jhorak, klember, mike, pahan, tiwillia
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:22:53 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: 1486781    
Bug Blocks:    

Description Pedro Sampaio 2017-08-30 14:09:50 UTC
In ImageMagick 7.0.6-8, the WritePDFImage function in coders/pdf.c
operates on an incorrect data structure in the "dump uncompressed
PseudoColor packets" step, which allows attackers to cause a denial of
service (assertion failure in WriteBlobStream in MagickCore/blob.c) via
a crafted file.

Upstream bug:

https://github.com/ImageMagick/ImageMagick/issues/674

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/2001aabeab8a921a4fa0b1932f565aef6ae69f84

Comment 1 Pedro Sampaio 2017-08-30 14:19:59 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1486781]