Bug 1529374 (CVE-2017-17883)

Summary: CVE-2017-17883 ImageMagick: memory leak in the function ReadPGXImage in coders/pgx.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jhorak, 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:35:39 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: 1529375, 1529376    
Bug Blocks:    

Description Laura Pardo 2017-12-27 20:41:12 UTC
A flaw was found in ImageMagick 7.0.7-12 Q16, a memory leak vulnerability in the function ReadPGXImage in coders/pgx.c, which allows attackers to cause a denial of service via a crafted PGX image file.

[REFERENCES]
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-17883 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17883

[UPSTREAM BUG]
https://github.com/ImageMagick/ImageMagick/issues/877

[TESTCASE]
https://github.com/henices/pocs/raw/master/ReadPGXImage-memory-leaks

[UPSTREAM PATCH]
https://github.com/ImageMagick/ImageMagick/commit/2a1ec7d97f356e9fb6dbc328da17d93ab7a8167c

Comment 1 Laura Pardo 2017-12-27 20:41:35 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1529376]

Comment 3 Tomas Hoger 2020-03-25 09:24:59 UTC
The support for pgx coder was added in version 6.9.8-1.