Bug 1552316 (CVE-2017-18210)

Summary: CVE-2017-18210 ImageMagick: NULL pointer dereference in BenchmarkOpenCLDevices 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-04-26 12:24:22 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: 1552317, 1572210    
Bug Blocks: 1552322    

Description Laura Pardo 2018-03-06 22:39:41 UTC
In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function BenchmarkOpenCLDevices in MagickCore/opencl.c because a memory allocation result is not checked.


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

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

Comment 1 Laura Pardo 2018-03-06 22:40:01 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1552317]