Bug 1652583 (CVE-2018-19409)

Summary: CVE-2018-19409 ghostscript: Improperly implemented security check in zsetdevice function in psi/zdevice.c
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: cbuissar, deekej, 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 08:36:45 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: 1652584, 1652935, 1652936, 1652937    
Bug Blocks: 1652585    

Description Pedro Sampaio 2018-11-22 12:27:30 UTC
An issue was discovered in Artifex Ghostscript before 9.26. LockSafetyParams is not checked correctly if another device is used.

Upstream bug:

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

Upstream patch:

https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=661e8d8fb
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ea1b3ef43

References:

https://www.ghostscript.com/doc/9.26/History9.htm#Version9.26

Comment 1 Pedro Sampaio 2018-11-22 12:27:53 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1652584]

Comment 6 errata-xmlrpc 2018-12-17 19:58:25 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 7 Cedric Buissart 2018-12-18 08:36:48 UTC
Mitigation:

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

Comment 8 Cedric Buissart 2018-12-18 08:41:37 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/.