Bug 1561743 (CVE-2017-18253)

Summary: CVE-2017-18253 ImageMagick: NULL pointer dereference LoadOpenCLDevices function in MagickCore/opencl.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: 2018-05-18 08:01:03 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: 1561740, 1561745    
Bug Blocks: 1561747    

Description Laura Pardo 2018-03-28 19:34:19 UTC
An issue was discovered in ImageMagick 7.0.7. A NULL pointer dereference vulnerability was found in the function LoadOpenCLDevices in MagickCore/opencl.c, which allows attackers to cause a denial of service via a crafted file.


References:
https://github.com/ImageMagick/ImageMagick/issues/794

Patch:
https://github.com/ImageMagick/ImageMagick/commit/de5deab202c340162b65f65bafbbe17b1eda2c1a

Comment 1 Laura Pardo 2018-03-28 19:40:28 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1561740]

Comment 3 Riccardo Schirone 2018-05-18 08:01:13 UTC
Statement:

This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include support for OpenCL.