Bug 1526077 (CVE-2017-17682)

Summary: CVE-2017-17682 ImageMagick: Resource exhaustion in ExtractPostscript function in coders/wpg.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: fedora, jhorak, klember, mike, pahan
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:34:25 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: 1526079    
Bug Blocks:    

Description Pedro Sampaio 2017-12-14 18:04:01 UTC
In ImageMagick 7.0.7-12 Q16, a large loop vulnerability was found in the
function ExtractPostscript in coders/wpg.c, which allows attackers to cause a
denial of service (CPU exhaustion) via a crafted wpg image file that triggers a
ReadWPGImage call.

Upstream issue:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/da649f031e36753c69268c5c027e695b8ae45e9a
https://github.com/ImageMagick/ImageMagick/commit/06c8dd4de59e48d282d4f224faa64ab9012a711a

Comment 1 Pedro Sampaio 2017-12-14 18:05:24 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1526079]