Bug 1434353 (CVE-2017-7207)

Summary: CVE-2017-7207 ghostscript: NULL pointer dereference in mem_get_bits_rectangle()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abhgupta, slawomir, tiwillia, twaugh, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference flaw was found in ghostscript's mem_get_bits_rectangle function. A specially crafted postscript document could cause a crash in the context of the gs process.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:09:22 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: 1434497, 1435546    
Bug Blocks: 1415638, 1434354    

Description Adam Mariš 2017-03-21 10:42:23 UTC
A null pointer vulnerability was found in mem_get_bits_rectangle() when trying to read from unallocated memory.

Upstream bug:

https://bugs.ghostscript.com/show_bug.cgi?id=697676

Upstream patch:

http://git.ghostscript.com/?p=ghostpdl.git;h=309eca4e0a31ea70dcc844812691439312dad091

Comment 1 David Kaspar // Dee'Kej 2017-03-21 14:53:09 UTC
Hello Adam,

will you be creating a BZ for this in Fedora as well, or should I clone it? I'm currently waiting for it.

Best regards,

Dee'Kej

Comment 2 Adam Mariš 2017-03-21 15:46:19 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1434497]

Comment 3 Adam Mariš 2017-03-21 15:47:54 UTC
(In reply to David Kaspar [Dee'Kej] from comment #1)
> Hello Adam,
> 
> will you be creating a BZ for this in Fedora as well, or should I clone it?
> I'm currently waiting for it.
> 
> Best regards,
> 
> Dee'Kej

Hi David,

Sorry, forgot to create it. It's done now. Thanks for noticing!

Comment 8 errata-xmlrpc 2017-08-01 23:06:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2180 https://access.redhat.com/errata/RHSA-2017:2180