CVE-2019-14812 Security feature bypass in ghostscript

High 7.3 Published Updated

Attackers can bypass Ghostscript's -dSAFER restrictions 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-14812?

CVE-2019-14812 is a high-severity vulnerability in Artifex Ghostscript, published on 27 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 ghostscript versions 9.x before 9.50, in the .setuserparams2 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-732, CWE-648

Which versions are affected by CVE-2019-14812?

It affects 2 products.

Products include Artifex Ghostscript, Fedoraproject Fedora.

How do I fix CVE-2019-14812?

Upgrade to a fixed version.

Is CVE-2019-14812 being exploited?

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

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2019-14812, DEBIAN-CVE-2019-14812, GHSA-rmmv-j9x6-f2v4, UBUNTU-CVE-2019-14812.

Is CVE-2019-14812 in your software?

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

Check your SBOMs for free