CVE-2019-14869 Security feature bypass in ghostscript
Attackers can bypass Ghostscript's -dSAFER restrictions via crafted PostScript files to execute commands or access restricted files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-14869?
CVE-2019-14869 is a high-severity vulnerability in Artifex Ghostscript, published on 15 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2019-14869?
It affects 3 products.
Linux distribution packages (40)
ghostscript Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
ghostscript-cups Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
ghostscript-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
ghostscript-doc Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
ghostscript-gtk Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
libgs Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
libgs-devel Red Hat:enterprise_linux:7::client | All versions | 0:9.25-2.el7_7.3 |
ghostscript Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
ghostscript-cups Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
ghostscript-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
ghostscript-doc Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
ghostscript-gtk Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
libgs Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
libgs-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:9.25-2.el7_7.3 |
ghostscript Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
ghostscript-cups Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
ghostscript-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
ghostscript-doc Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
ghostscript-gtk Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
libgs Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
libgs-devel Red Hat:enterprise_linux:7::server | All versions | 0:9.25-2.el7_7.3 |
ghostscript Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
ghostscript-cups Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
ghostscript-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
ghostscript-doc Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
ghostscript-gtk Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
libgs Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
libgs-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:9.25-2.el7_7.3 |
ghostscript Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
ghostscript-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
ghostscript-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
ghostscript-x11-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
libgs Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
libgs-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:9.25-5.el8_1.1 |
ghostscript-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:9.25-5.el8_1.1 |
ghostscript-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:9.25-5.el8_1.1 |
ghostscript-doc Red Hat:enterprise_linux:8::crb | All versions | 0:9.25-5.el8_1.1 |
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:9.25-5.el8_1.1 |
ghostscript-tools-dvipdf Red Hat:enterprise_linux:8::crb | All versions | 0:9.25-5.el8_1.1 |
Products include Artifex Ghostscript, Fedoraproject Fedora, Opensuse Leap.
How do I fix CVE-2019-14869?
Upgrade to a fixed version.
Is CVE-2019-14869 being exploited?
There is no known exploitation of CVE-2019-14869 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as ALPINE-CVE-2019-14869, DEBIAN-CVE-2019-14869, DLA-1992-1, DSA-4569-1, GHSA-c87p-jj8p-c38g, MGASA-2019-0336 and 9 more.