Bug 1637186 (CVE-2018-18023)

Summary: CVE-2018-18023 ImageMagick: heap-based buffer over-read in the SVGStripString function of coders/svg.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: 2019-06-10 10:39:29 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: 1637187    
Bug Blocks: 1637193    

Description Laura Pardo 2018-10-08 21:02:29 UTC
A flaw was found in ImageMagick 7.0.8-13 Q16, there is a heap-based buffer over-read in the SVGStripString function of coders/svg.c, which allows attackers to cause a denial of service via a crafted SVG image file. 


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

Upstream Patches:
https://github.com/ImageMagick/ImageMagick6/commit/a5db4873626f702d2ddd8bc293573493e0a412c0
https://github.com/ImageMagick/ImageMagick/commit/5d71e23b853461dd3628cd1218834fcf13938365

Comment 1 Laura Pardo 2018-10-08 21:03:05 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1637187]

Comment 2 Stefan Cornelius 2018-11-27 10:47:34 UTC
Statement:

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

Comment 3 Paul Harvey 2019-01-26 09:46:41 UTC
openshift-enterprise-3: notaffected as RHEL-7 is notaffected. Removed openshift-enterprise-3 from whiteboard.