CVE-2019-14869 A flaw was found in all versions of ghostscript 9.x before 9.50, where the .charkeys procedure, where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions.....
HighCVSS 8.8
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A flaw was found in all versions of ghostscript 9.x before 9.50, where the .charkeys procedure, where it 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 within the Ghostscript and access files outside of restricted areas or execute commands.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ghostscript(Debian:12) | < 9.50~dfsg-3 | 9.50~dfsg-3 |
| debian/ghostscript(Debian:13) | < 9.50~dfsg-3 | 9.50~dfsg-3 |
| debian/ghostscript(Debian:14) | < 9.50~dfsg-3 | 9.50~dfsg-3 |
| artifex ghostscript | >= 9.00, < 9.50 | 9.50 |
| fedoraproject fedora | = 29 | No fix listed |
| fedoraproject fedora | = 30 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| openSUSE leap | = 15.0 | No fix listed |
| openSUSE leap | = 15.1 | No fix listed |
| alpine/ghostscript(Alpine:v3.10) | >= 9.00, < 9.27-r5 | 9.27-r5 |
| alpine/ghostscript(Alpine:v3.11) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.12) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.13) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.14) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.15) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.16) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.17) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.18) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.19) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.20) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.21) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.22) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.23) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.24) | >= 9.00, < 9.50-r0 | 9.50-r0 |
| alpine/ghostscript(Alpine:v3.9) | >= 9.00, < 9.26-r5 | 9.26-r5 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ghostscript | = all versions of ghostscript 9.x before 9.28 | No fix listed |
References
- Debian Security Tracker CVE-2019-14869 vendor-advisory
- JVN#52486659 third-party-advisory
- openSUSE-SU-2019:2534 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:2535 mailing-list third-party-advisory vendor-advisory
- [oss-security] 20191115 CVE-2019-14869 ghostscript: -dSAFER escape in .charkeys mailing-list patch third-party-advisory
- RHSA-2020:0222 third-party-advisory vendor-advisory
- bugs.ghostscript.com permissions-required
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- git.ghostscript.com
- FEDORA-2019-7debdd1807 vendor-advisory
- FEDORA-2019-6cdb10aa59 vendor-advisory
- FEDORA-2019-17f42f585a vendor-advisory
- 20191118 [SECURITY] [DSA 4569-1] ghostscript security update issue-tracking mailing-list third-party-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking