CVE-2019-14813 Security feature bypass in ghostscript

High 7.3 Published Updated

Attackers can bypass -dSAFER restrictions in Ghostscript via crafted PostScript files to execute arbitrary commands or access the file system.

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-14813?

CVE-2019-14813 is a high-severity vulnerability in Artifex Ghostscript, published on 6 Sep 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 ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. A specially crafted PostScript file could disable security protection and then have access to the file system, or execute arbitrary commands.

Weakness: CWE-863, CWE-648

Which versions are affected by CVE-2019-14813?

It affects 12 products.

Products include Artifex Ghostscript, Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop and 6 more.

How do I fix CVE-2019-14813?

Upgrade to a fixed version.

Is CVE-2019-14813 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2019-14813, DEBIAN-CVE-2019-14813, GHSA-r3w6-mj6m-w4m6, UBUNTU-CVE-2019-14813.

Is CVE-2019-14813 in your software?

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

Check your SBOMs for free