CVE-2019-14817
published 2019-09-03CVE-2019-14817: A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures where it did not properly secure its privileged calls…
PriorityP343high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.02%
78.8th percentile
A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures 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-f4cx-p6hx-chwv: A flaw was found in, ghostscript versions prior to 9
ghsa_unreviewed·2022-05-24
CVE-2019-14817 [HIGH] CWE-648 GHSA-f4cx-p6hx-chwv: A flaw was found in, ghostscript versions prior to 9
A flaw was found in, ghostscript versions prior to 9.28, in the .pdfexectoken and other procedures 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-14817: A flaw was found in, ghostscript versions prior to 9
osv·2019-09-03·CVSS 7.8
CVE-2019-14817 [HIGH] CVE-2019-14817: A flaw was found in, ghostscript versions prior to 9
A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures 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 .pdfexectoken and other procedures (701450)
vendor_redhat·2019-08-28·CVSS 7.8
CVE-2019-14817 [HIGH] CWE-648 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450)
ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450)
A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures 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 .pdfexectoken and other procedures 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.
Package: ghostscript (Red Hat 3scale API Ma
Debian
CVE-2019-14817: ghostscript - A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken an...
vendor_debian·2019·CVSS 7.8
CVE-2019-14817 [HIGH] CVE-2019-14817: ghostscript - A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken an...
A flaw was found in, ghostscript versions prior to 9.50, in the .pdfexectoken and other procedures 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-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
bugzilla·2019-09-02·CVSS 7.8
CVE-2019-3839 [HIGH] CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [fedora-all]
CVE-2019-3839 ghostscript: missing attack vector protections for CVE-2019-6116 [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 issue affects multiple supp
Bugzilla
CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450) [fedora-all]
bugzilla·2019-09-02·CVSS 7.8
CVE-2019-14817 [HIGH] CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450) [fedora-all]
CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450) [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.
NO
Bugzilla
CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450)
bugzilla·2019-08-21·CVSS 7.8
CVE-2019-14817 [HIGH] CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450)
CVE-2019-14817 ghostscript: Safer mode bypass by .forceput exposure in .pdfexectoken and other procedures (701450)
There seem to be several .forceput accessible in .pdfexectoken and other procedures.
For the case of .pdfexectoken : several .forceput are available on the stack :
{-dict- /PDFSTEPcount --known-- --not-- {-dict- /PDFSTEPcount 1 --.forceput--} --executeonly-- --if-- PDFSTEP {-dict- /PDFtokencount 2 --copy-- --.knownget-- {1 --add--} {1} --ifelse-- --.forceput-- PDFSTEPcount 1 --gt-- {-dict- /PDFSTEPcount PDFSTEPcount 1 --sub-- --.forceput--} --executeonly-- {--dup-- ==only ( step # ) --print-- PDFtokencount =only ( ? ) --print-- --flush-- 1 false --.outputpage-- (%stdin) (r) --file-- 255 --string-- --readline-- {--token-- {--exch-- --pop-- -dict- /PDFSTEPcount 3 -1 --roll--
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=cd1b1cacadac2479e291efe611979bdc1b3bdb19http://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-14817https://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://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=cd1b1cacadac2479e291efe611979bdc1b3bdb19http://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-14817https://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