CVE-2018-15908: High severity Artifex Ghostscript vulnerability

Published Aug 21, 2018
·
Updated

In Artifex Ghostscript 9.23 before 2018-08-23, attackers are able to supply malicious PostScript files to bypass .tempfile restrictions and write files.

Other sources

It was discovered that the ghostscript .tempfile function did not properly handle file permissions. A specially crafted PostScript document could possibly exploit this to bypass the -dSAFER protection and delete files or disclose their content.

— Red Hat

Affected Software

33 affected componentsFixes available
redhat/ghostscript<9.24
9.24
debian/ghostscript
9.53.3~dfsg-7+deb11u79.53.3~dfsg-7+deb11u910.0.0~dfsg-11+deb12u610.04.0~dfsg-2
Artifex Ghostscript<=9.23
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Workstation=7.0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0
alpine/ghostscript<9.24-r0
9.24-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.24
  2. Upgrade

    Upgrade debian/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.53.3~dfsg-7+deb11u7Fixed in 9.53.3~dfsg-7+deb11u9Fixed in 10.0.0~dfsg-11+deb12u6Fixed in 10.04.0~dfsg-2
  3. Upgrade

    Upgrade alpine/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.24-r0

Event History

Aug 27, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via NVD·05:29 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this Artifex Ghostscript vulnerability?

The vulnerability ID for this Artifex Ghostscript vulnerability is CVE-2018-15908.

2

What is the severity of CVE-2018-15908?

The severity of CVE-2018-15908 is high, with a severity value of 7.8.

3

Which software versions are affected by CVE-2018-15908?

Artifex Ghostscript 9.23 is affected by CVE-2018-15908.

4

How can attackers exploit CVE-2018-15908?

Attackers can exploit CVE-2018-15908 by supplying malicious PostScript files to bypass .tempfile restrictions and write files.

5

Are there any references for CVE-2018-15908?

Yes, you can find references for CVE-2018-15908 at the following links: [Link 1](http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=0d3901189f245232f0161addf215d7268c4d05a3), [Link 2](https://www.kb.cert.org/vuls/id/332928), [Link 3](https://www.debian.org/security/2018/dsa-4288).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203