USN-3272-2: Ghostscript regression

Ubuntu Security Notice USN-3272-2

16th May, 2017

ghostscript regression

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.04
  • Ubuntu 16.10
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

USN-3272-1 introduced a regression in Ghostscript.

Software description

  • ghostscript - PostScript and PDF interpreter

Details

USN-3272-1 fixed vulnerabilities in Ghostscript. This change introduced
a regression when the DELAYBIND feature is used with the eqproc
command. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

It was discovered that Ghostscript improperly handled parameters to
the rsdparams and eqproc commands. An attacker could use these to
craft a malicious document that could disable -dSAFER protections,
thereby allowing the execution of arbitrary code, or cause a denial
of service (application crash). (CVE-2017-8291)

Kamil Frankowicz discovered a use-after-free vulnerability in the
color management module of Ghostscript. An attacker could use this
to cause a denial of service (application crash). (CVE-2016-10217)

Kamil Frankowicz discovered a divide-by-zero error in the scan
conversion code in Ghostscript. An attacker could use this to cause
a denial of service (application crash). (CVE-2016-10219)

Kamil Frankowicz discovered multiple NULL pointer dereference errors in
Ghostscript. An attacker could use these to cause a denial of service
(application crash). (CVE-2016-10220, CVE-2017-5951, CVE-2017-7207)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 17.04:
ghostscript-x 9.19~dfsg+1-0ubuntu7.4
ghostscript 9.19~dfsg+1-0ubuntu7.4
libgs9 9.19~dfsg+1-0ubuntu7.4
libgs9-common 9.19~dfsg+1-0ubuntu7.4
Ubuntu 16.10:
ghostscript-x 9.19~dfsg+1-0ubuntu6.6
ghostscript 9.19~dfsg+1-0ubuntu6.6
libgs9 9.19~dfsg+1-0ubuntu6.6
libgs9-common 9.19~dfsg+1-0ubuntu6.6
Ubuntu 16.04 LTS:
ghostscript-x 9.18~dfsg~0-0ubuntu2.6
ghostscript 9.18~dfsg~0-0ubuntu2.6
libgs9 9.18~dfsg~0-0ubuntu2.6
libgs9-common 9.18~dfsg~0-0ubuntu2.6
Ubuntu 14.04 LTS:
ghostscript-x 9.10~dfsg-0ubuntu10.9
ghostscript 9.10~dfsg-0ubuntu10.9
libgs9 9.10~dfsg-0ubuntu10.9
libgs9-common 9.10~dfsg-0ubuntu10.9

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References

LP: 1687614