Bug 1486779 (CVE-2017-13134)

Summary: CVE-2017-13134 ImageMagick: heap-based buffer over-read in SFWScan function in coders/sfw.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, dan, fedora, jhorak, klember, mike, pahan, tiwillia
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:22:56 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: 1486781    
Bug Blocks:    

Description Pedro Sampaio 2017-08-30 14:18:24 UTC
In ImageMagick 7.0.6-6, a heap-based buffer over-read was found in the
function SFWScan in coders/sfw.c, which allows attackers to cause a
denial of service via a crafted file.

Upstream bug:

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

Upstream patch:

https://github.com/ImageMagick/ImageMagick/commit/1b234b4fe2ec864b2d5af898a31c06c9736da904

Comment 1 Pedro Sampaio 2017-08-30 14:19:48 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1486781]

Comment 2 Michael Cronenworth 2017-08-30 16:59:15 UTC
Please fix your scripts.

ImageMagick 6.9.9-9 is in Fedora 25 and Fedora 26 updates-testing.

ImageMagick 7.0.6-9 is in Fedora 27 and Fedora Rawhide.