CVE-2019-10216 In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2019-10216?

CVE-2019-10216 is a high-severity vulnerability in Artifex Ghostscript, published on 27 Nov 2019.

Official description

In ghostscript before version 9.50, the .buildfont1 procedure 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 and access files outside of restricted areas.

Weakness: CWE-648

Which versions are affected by CVE-2019-10216?

It affects 9 products.

Linux distribution packages (40)
ghostscript Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
ghostscript-cups Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
ghostscript-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
ghostscript-doc Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
ghostscript-gtk Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
libgs Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
libgs-devel Red Hat:enterprise_linux:7::clientAll versions0:9.25-2.el7_7.1
ghostscript Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
ghostscript-cups Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
ghostscript-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
ghostscript-doc Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
ghostscript-gtk Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
libgs Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
libgs-devel Red Hat:enterprise_linux:7::computenodeAll versions0:9.25-2.el7_7.1
ghostscript Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
ghostscript-cups Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
ghostscript-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
ghostscript-doc Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
ghostscript-gtk Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
libgs Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
libgs-devel Red Hat:enterprise_linux:7::serverAll versions0:9.25-2.el7_7.1
ghostscript Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
ghostscript-cups Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
ghostscript-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
ghostscript-doc Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
ghostscript-gtk Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
libgs Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
libgs-devel Red Hat:enterprise_linux:7::workstationAll versions0:9.25-2.el7_7.1
ghostscript Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
ghostscript-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
ghostscript-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
ghostscript-x11-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
libgs Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
libgs-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:9.25-2.el8_0.2
ghostscript-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:9.25-2.el8_0.2
ghostscript-debugsource Red Hat:enterprise_linux:8::crbAll versions0:9.25-2.el8_0.2
ghostscript-doc Red Hat:enterprise_linux:8::crbAll versions0:9.25-2.el8_0.2
ghostscript-gtk-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:9.25-2.el8_0.2
ghostscript-tools-dvipdf Red Hat:enterprise_linux:8::crbAll versions0:9.25-2.el8_0.2

Products include Artifex Ghostscript, Redhat 3scale Api Management, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 3 more.

How do I fix CVE-2019-10216?

Upgrade to a fixed version.

Is CVE-2019-10216 being exploited?

There is no known exploitation of CVE-2019-10216 in the wild and no public exploit code.

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2019-10216, DEBIAN-CVE-2019-10216, DLA-1880-1, DSA-4499-1, GHSA-9xw2-pr37-vhp5, MGASA-2019-0236 and 8 more.

Is CVE-2019-10216 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free