Skip to content
OpenAdvisories
High · 7.3 CVE-2019-14869 EUVD-2019-5984GHSA-c87p-jj8p-c38g

A flaw was found in all versions of ghostscript 9.x before 9.50, where the `.charkeys` procedure, where it did not properly secure its priv…

Published Nov 15, 2019 · Updated Aug 5, 2024 · Assigned by redhat

Description

A flaw was found in all versions of ghostscript 9.x before 9.50, where the `.charkeys` procedure, where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands.

Affected products

VendorProductAffectedFixed
Ghostscript ghostscript all versions of ghostscript 9.x before 9.28 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 9.50~dfsg-3 —
Debian 13 ghostscript 9.50~dfsg-3 —
Debian 12 ghostscript 9.50~dfsg-3 —
Debian 10 ghostscript 9.27~dfsg-2+deb10u3 DSA-4569-1
Debian 9 ghostscript 9.26a~dfsg-0+deb9u6 DSA-4569-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 ghostscript 9.26a~dfsg-0+deb8u6 DLA-1992-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.12 USN-4193-1
Ubuntu 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.12 USN-4193-1
ReleasePackageFixed inAdvisory
RHEL 8 libgs +7 9.25-5.el8_1.1 RHSA-2019:3890
RHEL 7 libgs +5 9.25-2.el7_7.3 RHSA-2019:3888
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.0 E4S libgs +1 9.25-2.el8_0.4 RHSA-2020:0222
ReleasePackageFixed inAdvisory
SLES 15 SP1 ghostscript 9.27-3.24.1 SUSE-SU-2019:2981-1
SLES 15 ghostscript 9.27-3.24.1 SUSE-SU-2019:2981-1
SLES 12 SP5 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES 12 SP4 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES 12 SP3 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES 12 SP1 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES for SAP 12 SP5 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES for SAP 12 SP4 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES for SAP 12 SP3 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES for SAP 12 SP2 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SLES for SAP 12 SP1 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SUSE OpenStack Cloud Crowbar 8 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SUSE OpenStack Cloud 8 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SUSE OpenStack Cloud 7 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SUSE HPE Helion OpenStack 8 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
SUSE Enterprise Storage 5 ghostscript 9.27-23.31.1 SUSE-SU-2019:2983-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 ghostscript +1 9.27-lp151.3.9.1 openSUSE-SU-2019:2535-1
openSUSE Leap 15.0 ghostscript +1 9.27-lp150.2.26.1 openSUSE-SU-2019:2534-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 9.50-r0 —
Alpine v3.23 ghostscript 9.50-r0 —
Alpine v3.22 ghostscript 9.50-r0 —
Alpine v3.21 ghostscript 9.50-r0 —
Alpine v3.20 ghostscript 9.50-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 9.50-r0 —
Alpine v3.18 ghostscript 9.50-r0 —
Alpine v3.17 ghostscript 9.50-r0 —
Alpine v3.16 ghostscript 9.50-r0 —
Alpine v3.15 ghostscript 9.50-r0 —
Alpine v3.14 ghostscript 9.50-r0 —
Alpine v3.13 ghostscript 9.50-r0 —
Alpine v3.12 ghostscript 9.50-r0 —
Alpine v3.11 ghostscript 9.50-r0 —
Alpine v3.10 ghostscript 9.27-r5 —
Alpine v3.9 ghostscript 9.26-r5 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libgs +5 9.25-5.amzn2 ALAS2-2021-1598

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libgs +7 9.25-5.el8_1.1 ELSA-2019-3890
Oracle Linux 7 libgs +5 9.25-2.el7_7.3 ELSA-2019-3888

Advisories 13

References