Bug 1661544 (CVE-2018-20184)

Summary: CVE-2018-20184 GraphicsMagick: heap-based buffer overflow in the WriteTGAImage function of tga.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, rdieter
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:44:30 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: 1661545, 1661546    
Bug Blocks:    

Description Laura Pardo 2018-12-21 13:55:14 UTC
In GraphicsMagick 1.4 snapshot-20181209 Q8, there is a heap-based buffer overflow in the WriteTGAImage function of tga.c, which allows attackers to cause a denial of service via a crafted image file, because the number of rows or columns can exceed the pixel-dimension restrictions of the TGA specification. 


References:
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/15d1b5fd003b 
https://sourceforge.net/p/graphicsmagick/bugs/583/

Comment 1 Laura Pardo 2018-12-21 13:55:35 UTC
Created GraphicsMagick tracking bugs for this issue:

Affects: epel-all [bug 1661545]
Affects: fedora-all [bug 1661546]

Comment 2 Product Security DevOps Team 2019-06-10 10:44:30 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.