RedHat: RHSA-2018-2918:01 Important: ghostscript security update
Summary
The Ghostscript suite contains utilities for rendering PostScript and PDF
documents. Ghostscript translates PostScript code to common bitmap formats
so that the code can be displayed or printed.
Security Fix(es):
* It was discovered that the ghostscript /invalidaccess checks fail under
certain conditions. An attacker could possibly exploit this to bypass the
- -dSAFER protection and, for example, execute arbitrary shell commands via a
specially crafted PostScript document. (CVE-2018-16509)
* ghostscript: LockDistillerParams type confusion (699656) (CVE-2018-15910)
* ghostscript: .definemodifiedfont memory corruption if /typecheck is
handled (699668) (CVE-2018-16542)
* ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix
function in gdevpdts.c (CVE-2018-10194)
For more details about the security issue(s), including the impact, a CVSS
score, and other related information, refer to the CVE page(s) listed in
the References section.
Red Hat would like to thank Tavis Ormandy (Google Project Zero) for
reporting CVE-2018-16509, CVE-2018-15910, and CVE-2018-16542.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2018-10194 https://access.redhat.com/security/cve/CVE-2018-15910 https://access.redhat.com/security/cve/CVE-2018-16509 https://access.redhat.com/security/cve/CVE-2018-16542 https://access.redhat.com/security/updates/classification/#important
Package List
Red Hat Enterprise Linux Client (v. 7):
Source:
ghostscript-9.07-29.el7_5.2.src.rpm
x86_64:
ghostscript-9.07-29.el7_5.2.i686.rpm
ghostscript-9.07-29.el7_5.2.x86_64.rpm
ghostscript-cups-9.07-29.el7_5.2.x86_64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
noarch:
ghostscript-doc-9.07-29.el7_5.2.noarch.rpm
x86_64:
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
ghostscript-devel-9.07-29.el7_5.2.i686.rpm
ghostscript-devel-9.07-29.el7_5.2.x86_64.rpm
ghostscript-gtk-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source:
ghostscript-9.07-29.el7_5.2.src.rpm
x86_64:
ghostscript-9.07-29.el7_5.2.i686.rpm
ghostscript-9.07-29.el7_5.2.x86_64.rpm
ghostscript-cups-9.07-29.el7_5.2.x86_64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
noarch:
ghostscript-doc-9.07-29.el7_5.2.noarch.rpm
x86_64:
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
ghostscript-devel-9.07-29.el7_5.2.i686.rpm
ghostscript-devel-9.07-29.el7_5.2.x86_64.rpm
ghostscript-gtk-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
ghostscript-9.07-29.el7_5.2.src.rpm
ppc64:
ghostscript-9.07-29.el7_5.2.ppc.rpm
ghostscript-9.07-29.el7_5.2.ppc64.rpm
ghostscript-cups-9.07-29.el7_5.2.ppc64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.ppc.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64.rpm
ppc64le:
ghostscript-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-cups-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64le.rpm
s390x:
ghostscript-9.07-29.el7_5.2.s390.rpm
ghostscript-9.07-29.el7_5.2.s390x.rpm
ghostscript-cups-9.07-29.el7_5.2.s390x.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390x.rpm
x86_64:
ghostscript-9.07-29.el7_5.2.i686.rpm
ghostscript-9.07-29.el7_5.2.x86_64.rpm
ghostscript-cups-9.07-29.el7_5.2.x86_64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7):
Source:
ghostscript-9.07-29.el7_5.2.src.rpm
aarch64:
ghostscript-9.07-29.el7_5.2.aarch64.rpm
ghostscript-cups-9.07-29.el7_5.2.aarch64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.aarch64.rpm
ppc64le:
ghostscript-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-cups-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64le.rpm
s390x:
ghostscript-9.07-29.el7_5.2.s390.rpm
ghostscript-9.07-29.el7_5.2.s390x.rpm
ghostscript-cups-9.07-29.el7_5.2.s390x.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390x.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
noarch:
ghostscript-doc-9.07-29.el7_5.2.noarch.rpm
ppc64:
ghostscript-debuginfo-9.07-29.el7_5.2.ppc.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64.rpm
ghostscript-devel-9.07-29.el7_5.2.ppc.rpm
ghostscript-devel-9.07-29.el7_5.2.ppc64.rpm
ghostscript-gtk-9.07-29.el7_5.2.ppc64.rpm
ppc64le:
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-devel-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-gtk-9.07-29.el7_5.2.ppc64le.rpm
s390x:
ghostscript-debuginfo-9.07-29.el7_5.2.s390.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390x.rpm
ghostscript-devel-9.07-29.el7_5.2.s390.rpm
ghostscript-devel-9.07-29.el7_5.2.s390x.rpm
ghostscript-gtk-9.07-29.el7_5.2.s390x.rpm
x86_64:
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
ghostscript-devel-9.07-29.el7_5.2.i686.rpm
ghostscript-devel-9.07-29.el7_5.2.x86_64.rpm
ghostscript-gtk-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7):
aarch64:
ghostscript-debuginfo-9.07-29.el7_5.2.aarch64.rpm
ghostscript-devel-9.07-29.el7_5.2.aarch64.rpm
ghostscript-gtk-9.07-29.el7_5.2.aarch64.rpm
noarch:
ghostscript-doc-9.07-29.el7_5.2.noarch.rpm
ppc64le:
ghostscript-debuginfo-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-devel-9.07-29.el7_5.2.ppc64le.rpm
ghostscript-gtk-9.07-29.el7_5.2.ppc64le.rpm
s390x:
ghostscript-debuginfo-9.07-29.el7_5.2.s390.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.s390x.rpm
ghostscript-devel-9.07-29.el7_5.2.s390.rpm
ghostscript-devel-9.07-29.el7_5.2.s390x.rpm
ghostscript-gtk-9.07-29.el7_5.2.s390x.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
ghostscript-9.07-29.el7_5.2.src.rpm
x86_64:
ghostscript-9.07-29.el7_5.2.i686.rpm
ghostscript-9.07-29.el7_5.2.x86_64.rpm
ghostscript-cups-9.07-29.el7_5.2.x86_64.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
noarch:
ghostscript-doc-9.07-29.el7_5.2.noarch.rpm
x86_64:
ghostscript-debuginfo-9.07-29.el7_5.2.i686.rpm
ghostscript-debuginfo-9.07-29.el7_5.2.x86_64.rpm
ghostscript-devel-9.07-29.el7_5.2.i686.rpm
ghostscript-devel-9.07-29.el7_5.2.x86_64.rpm
ghostscript-gtk-9.07-29.el7_5.2.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for ghostscript is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) - aarch64, ppc64le, s390x
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) - aarch64, noarch, ppc64le, s390x
Bugs Fixed
1569108 - CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
1619748 - CVE-2018-16509 ghostscript: /invalidaccess bypass after failed restore (699654)
1619751 - CVE-2018-15910 ghostscript: LockDistillerParams type confusion (699656)
1621363 - CVE-2018-16542 ghostscript: .definemodifiedfont memory corruption if /typecheck is handled (699668)