Bug 1792480 (CVE-2019-19949)

Summary: CVE-2019-19949 ImageMagick: heap-based buffer over-read in WritePNGImage in coders/png.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, jhorak, mike, pahan
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 6.9.10-43, ImageMagick 7.0.8-43 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read was discovered in ImageMagick when writing PNG images. An attacker may abuse this flaw to trick a victim user into downloading a malicious image file and running it through ImageMagick, causing the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:35:58 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: 1792481, 1792482, 1798911    
Bug Blocks: 1792483    

Description Guilherme de Almeida Suckevicz 2020-01-17 17:20:08 UTC
In ImageMagick 7.0.8-43 Q16, there is a heap-based buffer over-read in the function WritePNGImage of coders/png.c, related to Magick_png_write_raw_profile and LocaleNCompare.

Reference:
https://github.com/ImageMagick/ImageMagick/issues/1561

Comment 1 Guilherme de Almeida Suckevicz 2020-01-17 17:21:24 UTC
Created ImageMagick tracking bugs for this issue:

Affects: epel-8 [bug 1792482]
Affects: fedora-all [bug 1792481]

Comment 6 errata-xmlrpc 2020-03-31 19:33:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1180 https://access.redhat.com/errata/RHSA-2020:1180

Comment 7 Product Security DevOps Team 2020-03-31 22:35:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-19949