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...
HighCVSS 7.8
EPSS 2.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:12) | < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| debian/ghostscript(Debian:13) | < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| debian/ghostscript(Debian:14) | < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| artifex ghostscript | >= 9.00, < 9.50 | 9.50 |
| fedoraproject fedora | = 31 | No fix listed |
| alpine/ghostscript(Alpine:v3.10) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.11) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.12) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.13) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.14) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.15) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.16) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.17) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.18) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.19) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.20) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.21) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.22) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.23) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.24) | >= 9.00, < 9.27-r3 | 9.27-r3 |
| alpine/ghostscript(Alpine:v3.7) | >= 9.00, < 9.26-r4 | 9.26-r4 |
| alpine/ghostscript(Alpine:v3.8) | >= 9.00, < 9.26-r4 | 9.26-r4 |
| alpine/ghostscript(Alpine:v3.9) | >= 9.00, < 9.26-r4 | 9.26-r4 |
| redhat/ghostscript | = all ghostscript versions 9.x before 9.50 | No fix listed |
References
- Debian Security Tracker CVE-2019-14812 vendor-advisory
- git.ghostscript.com
- access.redhat.com third-party-advisory
- bugs.ghostscript.com permissions-required
- bugzilla.redhat.com issue-tracking third-party-advisory
- lists.fedoraproject.org
- GLSA-202004-03 third-party-advisory vendor-advisory
- security.alpinelinux.org vendor-advisory