Vulnerability in Artifex Ghostscript
CVE-2019-14812
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 84.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Ghostscript
- Fedoraproject Fedora — versions 31
- Red Hat Ghostscript — versions all ghostscript versions 9.x before 9.50
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (barrracud4/image-upload-exploits, hhc0null/GhostRule). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.ghostscript.com/
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/cve-2019-14812 (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- bugs.ghostscript.com/show_bug.cgi (Permissions Required)
- GLSA-202004-03 (vendor-advisory, Third Party Advisory)