Bug 1529316 (CVE-2017-17880)

Summary: CVE-2017-17880 ImageMagick: stack-based buffer over-read in WriteWEBPImage in coders/webp.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jhorak, mike, pahan, yozone
Target Milestone: ---Keywords: Reopened, 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:35:15 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: 1529323, 1529347    
Bug Blocks:    

Description Laura Pardo 2017-12-27 15:44:42 UTC
A flaw was found on ImageMagick 7.0.7-16 Q16 x86_64 2017-12-21, there is a stack-based buffer over-read in WriteWEBPImage in coders/webp.c, related to a WEBP_DECODER_ABI_VERSION check. 

[UPSTREAM BUG]
https://github.com/ImageMagick/ImageMagick/issues/907

[TESTCASE]
https://github.com/henices/pocs/raw/master/stack-buffer-overflow-0

[UPSTREAM PATCH]
https://github.com/ImageMagick/ImageMagick/commit/663b3b432c202cd2aeda7ea7e82b74cce51ab1cf

Comment 1 Laura Pardo 2017-12-27 16:14:40 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1529323]