Bug 1632471 (CVE-2018-17183)

Summary: CVE-2018-17183 ghostscript: User-writable error exception table
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: mosvald, rskvaril, twaugh, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ghostscript 9.26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-18 09:02: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: 1632472, 1632474, 1650210, 1650211    
Bug Blocks: 1632473    

Description Pedro Sampaio 2018-09-24 20:56:30 UTC
Artifex Ghostscript before 9.25 allowed a user-writable error exception table, which could be used by remote attackers able to supply crafted PostScript to potentially overwrite or replace error handlers to inject code.

Upstream patch:

http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=fb713b3818b52d8a6cf62c951eba2e1795ff9624

Upstream bug:

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

Comment 1 Pedro Sampaio 2018-09-24 20:56:58 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1632472]

Comment 3 Cedric Buissart 2018-11-07 11:03:37 UTC
Note:
The fix creates some regression : https://bugs.ghostscript.com/show_bug.cgi?id=699832 (fix commit : http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1778db6bc10)

Comment 7 errata-xmlrpc 2018-12-17 19:58:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3834 https://access.redhat.com/errata/RHSA-2018:3834

Comment 8 Cedric Buissart 2018-12-18 08:52:39 UTC
Statement:

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Important, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 9 Cedric Buissart 2018-12-18 08:52:41 UTC
Mitigation:

Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509