Bug 1561190 (CVE-2018-8960)

Summary: CVE-2018-8960 ImageMagick: heap-buffer-overflow in ReadTIFFImage function in coders/tiff.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-20 14:19:40 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: 1561191, 1561192    
Bug Blocks: 1561193    

Description Laura Pardo 2018-03-27 20:47:56 UTC
A flaw was found in ImageMagick 7.0.7-26 Q16. The ReadTIFFImage function in coders/tiff.c does not properly restrict memory allocation, leading to a heap-based buffer over-read.


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

Patch:
https://github.com/ImageMagick/ImageMagick/commit/7c0b29f621ebcce1a35c0e6c1992c9043b3bb1bd

Comment 1 Laura Pardo 2018-03-27 20:48:23 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1561191]

Comment 3 Scott Gayou 2018-04-20 14:16:54 UTC
Statement:

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