Bug 1494540 (CVE-2017-14505)

Summary: CVE-2017-14505 ImageMagick: Null pointer dereference in DrawGetStrokeDashArray function in wand/drawing-wand.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, fedora, jhorak, klember, mike, pahan, tiwillia
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 7.0.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:26:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1494541    
Bug Blocks:    

Description Pedro Sampaio 2017-09-22 13:05:00 UTC
DrawGetStrokeDashArray in wand/drawing-wand.c in ImageMagick 7.0.7-1 mishandles certain NULL arrays, which allows attackers to perform Denial of Service (NULL pointer dereference and application crash in AcquireQuantumMemory within MagickCore/memory.c) by providing a crafted Image File as input.

Upstream bug:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/6ad5fc3c9b652eec27fc0b1a0817159f8547d5d9

References:

http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14505.html

Comment 1 Pedro Sampaio 2017-09-22 13:05:43 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1494541]