Issued:
2017-01-04
Updated:
2017-01-04

RHSA-2017:0013 - Moderate: ghostscript security update


Synopsis

Moderate: ghostscript security update

Type/Severity

Security Advisory Moderate

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 impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Description

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 found that the ghostscript functions getenv, filenameforall and .libfile did not honor the -dSAFER option, usually used when processing untrusted documents, leading to information disclosure. A specially crafted postscript document could read environment variable, list directory and retrieve file content respectively, from the target. (CVE-2013-5653, CVE-2016-7977)

  • It was found that the ghostscript function .setdevice suffered a use-after-free vulnerability due to an incorrect reference count. A specially crafted postscript document could trigger code execution in the context of the gs process. (CVE-2016-7978)

  • It was found that the ghostscript function .initialize_dsc_parser did not validate its parameter before using it, allowing a type confusion flaw. A specially crafted postscript document could cause a crash code execution in the context of the gs process. (CVE-2016-7979)

  • It was found that ghostscript did not sufficiently check the validity of parameters given to the .sethalftone5 function. A specially crafted postscript document could cause a crash, or execute arbitrary code in the context of the gs process. (CVE-2016-8602)

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

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.7x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.6x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.4x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.3x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.5x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.4x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.3x86_64
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, little endian7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.6ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.5ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.4ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.3ppc64le
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.5ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.4ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.3ppc64
Red Hat Enterprise Linux for IBM z Systems7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.4s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.3s390x
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.7ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.6ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.4ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.3ppc64le
Red Hat Enterprise Linux Server - TUS7.7x86_64
Red Hat Enterprise Linux Server - TUS7.6x86_64
Red Hat Enterprise Linux Server - TUS7.3x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian7ppc64le
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)7s390x
Red Hat Enterprise Linux Server - AUS7.7x86_64
Red Hat Enterprise Linux Server - AUS7.6x86_64
Red Hat Enterprise Linux Server - AUS7.4x86_64
Red Hat Enterprise Linux Server - AUS7.3x86_64
Red Hat Enterprise Linux EUS Compute Node7.7x86_64
Red Hat Enterprise Linux EUS Compute Node7.6x86_64
Red Hat Enterprise Linux EUS Compute Node7.5x86_64
Red Hat Enterprise Linux EUS Compute Node7.4x86_64
Red Hat Enterprise Linux EUS Compute Node7.3x86_64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • ghostscript-cups-9.07-20.el7_3.1.s390x.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.x86_64.rpm
  • ghostscript-devel-9.07-20.el7_3.1.s390.rpm
  • ghostscript-gtk-9.07-20.el7_3.1.ppc64le.rpm
  • ghostscript-cups-9.07-20.el7_3.1.x86_64.rpm
  • ghostscript-cups-9.07-20.el7_3.1.ppc64le.rpm
  • ghostscript-9.07-20.el7_3.1.i686.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.ppc.rpm
  • ghostscript-devel-9.07-20.el7_3.1.aarch64.rpm
  • ghostscript-gtk-9.07-20.el7_3.1.s390x.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.ppc64.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.s390x.rpm
  • ghostscript-9.07-20.el7_3.1.aarch64.rpm
  • ghostscript-devel-9.07-20.el7_3.1.i686.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.s390.rpm
  • ghostscript-devel-9.07-20.el7_3.1.s390x.rpm
  • ghostscript-gtk-9.07-20.el7_3.1.x86_64.rpm
  • ghostscript-9.07-20.el7_3.1.s390.rpm
  • ghostscript-devel-9.07-20.el7_3.1.ppc64.rpm
  • ghostscript-devel-9.07-20.el7_3.1.ppc64le.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.i686.rpm
  • ghostscript-9.07-20.el7_3.1.ppc.rpm
  • ghostscript-gtk-9.07-20.el7_3.1.aarch64.rpm
  • ghostscript-devel-9.07-20.el7_3.1.x86_64.rpm
  • ghostscript-9.07-20.el7_3.1.ppc64le.rpm
  • ghostscript-9.07-20.el7_3.1.src.rpm
  • ghostscript-doc-9.07-20.el7_3.1.noarch.rpm
  • ghostscript-9.07-20.el7_3.1.x86_64.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.ppc64le.rpm
  • ghostscript-9.07-20.el7_3.1.s390x.rpm
  • ghostscript-devel-9.07-20.el7_3.1.ppc.rpm
  • ghostscript-9.07-20.el7_3.1.ppc64.rpm
  • ghostscript-cups-9.07-20.el7_3.1.ppc64.rpm
  • ghostscript-debuginfo-9.07-20.el7_3.1.aarch64.rpm
  • ghostscript-gtk-9.07-20.el7_3.1.ppc64.rpm
  • ghostscript-cups-9.07-20.el7_3.1.aarch64.rpm

Fixes

CVEs

References


Additional information