Bug 1765330 (CVE-2019-17540)

Summary: CVE-2019-17540 ImageMagick: heap-based buffer overflow in ReadPSInfo in coders/ps.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: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andreas, fedora, jhorak, mike, pahan, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ImageMagick 6.9.10-55, ImageMagick 7.0.8-54 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 22:35:38 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: 1765335, 1770631    
Bug Blocks: 1765337    

Description Guilherme de Almeida Suckevicz 2019-10-24 20:34:10 UTC
ImageMagick before 7.0.8-54 has a heap-based buffer overflow in ReadPSInfo in coders/ps.c.

Reference:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15826

Upstream commits:
https://github.com/ImageMagick/ImageMagick/compare/7.0.8-53...7.0.8-54
https://github.com/ImageMagick/ImageMagick/compare/master@%7B2019-07-15%7D...master@%7B2019-07-17%7D

Comment 1 Guilherme de Almeida Suckevicz 2019-10-24 20:39:29 UTC
Created ImageMagick tracking bugs for this issue:

Affects: fedora-all [bug 1765335]

Comment 6 errata-xmlrpc 2020-03-31 19:32:58 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:38 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-17540