CVE-2019-14811
published 2019-09-03CVE-2019-14811: A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator procedure where it did not properly secure its privileged calls, enabling…
PriorityP345high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
3.76%
88.7th percentile
A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator 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
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.50 | 9.50 |
| artifex | ghostscript | >= 0 < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.28~~rc2~dfsg-1 | 9.28~~rc2~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.26~dfsg+0-0ubuntu0.16.04.11 | 9.26~dfsg+0-0ubuntu0.16.04.11 |
| artifex | ghostscript | >= 0 < 9.26~dfsg+0-0ubuntu0.18.04.11 | 9.26~dfsg+0-0ubuntu0.18.04.11 |
| artifex_software | ghostscript | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.28~~rc2~dfsg-1 (bookworm) | ghostscript 9.28~~rc2~dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| redhat | openshift_container_platform | — | — |
| redhat | openshift_container_platform | — | — |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-q58c-x76h-3jhc: A flaw was found in, ghostscript versions prior to 9
ghsa_unreviewed·2022-05-24
CVE-2019-14811 [HIGH] CWE-648 GHSA-q58c-x76h-3jhc: A flaw was found in, ghostscript versions prior to 9
A flaw was found in, ghostscript versions prior to 9.28, in the .pdf_hook_DSC_Creator 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.
OSV
CVE-2019-14811: A flaw was found in, ghostscript versions prior to 9
osv·2019-09-03·CVSS 7.8
CVE-2019-14811 [HIGH] CVE-2019-14811: A flaw was found in, ghostscript versions prior to 9
A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator 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.
OSV
ghostscript vulnerabilities
osv·2019-08-29·CVSS 7.8
CVE-2019-14811 [HIGH] ghostscript vulnerabilities
ghostscript vulnerabilities
Hiroki Matsukuma discovered that the PDF interpreter in Ghostscript
did not properly restrict privileged calls when ‘-dSAFER’
restrictions were in effect. If a user or automated system were
tricked into processing a specially crafted file, a remote attacker
could possibly use this issue to access arbitrary files.
(CVE-2019-14811, CVE-2019-14812, CVE-2019-14813, CVE-2019-14817)
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2019-08-29·CVSS 7.8
CVE-2019-14811 [HIGH] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Ghostscript could be made to access arbitrary files if it opened a
specially crafted file.
Hiroki Matsukuma discovered that the PDF interpreter in Ghostscript
did not properly restrict privileged calls when ‘-dSAFER’
restrictions were in effect. If a user or automated system were
tricked into processing a specially crafted file, a remote attacker
could possibly use this issue to access arbitrary files.
(CVE-2019-14811, CVE-2019-14812, CVE-2019-14813, CVE-2019-14817)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
vendor_redhat·2019-08-28·CVSS 7.8
CVE-2019-14811 [HIGH] CWE-648 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator 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.
A flaw was found in the .pdf_hook_DSC_Creator 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.
Mitigation: Please refer to the "Mitigation" section of CVE-20
Debian
CVE-2019-14811: ghostscript - A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Cr...
vendor_debian·2019·CVSS 7.8
CVE-2019-14811 [HIGH] CVE-2019-14811: ghostscript - A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Cr...
A flaw was found in, ghostscript versions prior to 9.50, in the .pdf_hook_DSC_Creator 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.
Scope: local
bookworm: resolved (fixed in 9.28~~rc2~dfsg-1)
bullseye: resolved (fixed in 9.28~~rc2~dfsg-1)
forky: resolved (fixed in 9.28~~rc2~dfsg-1)
sid: resolved (fixed in 9.28~~rc2~dfsg-1)
trixie: resolved (fixed in 9.28~~rc2~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445) [fedora-all]
bugzilla·2019-09-02·CVSS 7.8
CVE-2019-14811 [HIGH] CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445) [fedora-all]
CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445) [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issu
Bugzilla
CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
bugzilla·2019-08-20·CVSS 7.8
CVE-2019-14811 [HIGH] CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
CVE-2019-14811 ghostscript: Safer mode bypass by .forceput exposure in .pdf_hook_DSC_Creator (701445)
In Ghostscript 9.27, some ephemeral routines in .pdf_hook_DSC_Creator can expose .forceput operator when hooking errors. This issue is similar to upstream bug https://bugs.ghostscript.com/show_bug.cgi?id=700317.
There is no direct path to reach .pdf_hook_DSC_Creator however it can be obtained from .pdfdsc.
http://git.ghostscript.com/?p=ghostpdl.git;a=blob;f=Resource/Init/gs_pdfwr.ps;h=00c19faf3c4169fc26f7d35e759b94a7444d63a8;hb=ebfaa2db4cb518a2bc99c1532d4429201a13dfab#l651
651 } bind .makeoperator .forceput
652 systemdict /.pdf_hooked_DSC_Creator //true .forceput
653 } executeonly if
654 pop
655 } if
This can be used to disable -dSAFER and, for example, access files outside of the res
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00088.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00090.htmlhttps://access.redhat.com/errata/RHBA-2019:2824https://access.redhat.com/errata/RHSA-2019:2594https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14811https://lists.debian.org/debian-lts-announce/2019/09/msg00007.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6AATIHU32MYKUOXQDJQU4X4DDVL7NAY3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZP34D27RKYV2POJ3NJLSVCHUA5V5C45A/https://seclists.org/bugtraq/2019/Sep/15https://security.gentoo.org/glsa/202004-03https://www.debian.org/security/2019/dsa-4518http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00088.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00090.htmlhttps://access.redhat.com/errata/RHBA-2019:2824https://access.redhat.com/errata/RHSA-2019:2594https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14811https://lists.debian.org/debian-lts-announce/2019/09/msg00007.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6AATIHU32MYKUOXQDJQU4X4DDVL7NAY3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBUC4DBBJTRFNCR3IODBV4IXB2C2HI3V/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZP34D27RKYV2POJ3NJLSVCHUA5V5C45A/https://seclists.org/bugtraq/2019/Sep/15https://security.gentoo.org/glsa/202004-03https://www.debian.org/security/2019/dsa-4518
2019-09-03
Published