Bug 1561738 (CVE-2017-18250)

Summary: CVE-2017-18250 ImageMagick: NULL pointer dereference in LogOpenCLBuildFailure 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, rschiron
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 07:01: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: 1561739, 1561740, 1561745    
Bug Blocks: 1561747    

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


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

Patch:
https://github.com/ImageMagick/ImageMagick/commit/2f368e74a51ec7541b6595af712d17d6d1376534

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

Affects: fedora-all [bug 1561740]

Comment 4 Riccardo Schirone 2018-05-18 07:00:29 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.