CVE-2018-16802
published 2018-09-10CVE-2018-16802: An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling…
PriorityP338high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
2.16%
80.2th percentile
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.25 | 9.25 |
| artifex | ghostscript | >= 0 < 9.25~dfsg-1 | 9.25~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.25~dfsg-1 | 9.25~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.25~dfsg-1 | 9.25~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.25~dfsg-1 | 9.25~dfsg-1 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.25~dfsg-1 (bookworm) | ghostscript 9.25~dfsg-1 (bookworm) |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.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.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2018-09-19
CVE-2018-11645 Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
Tavis Ormandy discovered multiple security issues in Ghostscript. If a user
or automated system were tricked into processing a specially crafted file,
a remote attacker could possibly use these issues to access arbitrary
files, execute arbitrary code, or cause a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
vendor_redhat·2018-09-12·CVSS 7.8
CVE-2018-16802 [HIGH] CWE-20 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Statement: This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 7. This issue did not affect the versions of ghostscript as shipped with Red Hat Enterprise Linux 5 and 6.
Mitigation: Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
Package: ghostscript (Red Hat Ente
Debian
CVE-2018-16802: ghostscript - An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restorati...
vendor_debian·2018·CVSS 7.8
CVE-2018-16802 [HIGH] CVE-2018-16802: ghostscript - An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restorati...
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
Scope: local
bookworm: resolved (fixed in 9.25~dfsg-1)
bullseye: resolved (fixed in 9.25~dfsg-1)
forky: resolved (fixed in 9.25~dfsg-1)
sid: resolved (fixed in 9.25~dfsg-1)
trixie: resolved (fixed in 9.25~dfsg-1)
GHSA
GHSA-r3qx-w5mm-cr27: An issue was discovered in Artifex Ghostscript before 9
ghsa_unreviewed·2022-05-13·CVSS 7.8
CVE-2018-16802 [HIGH] GHSA-r3qx-w5mm-cr27: An issue was discovered in Artifex Ghostscript before 9
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
OSV
CVE-2018-16802: An issue was discovered in Artifex Ghostscript before 9
osv·2018-09-10·CVSS 7.8
CVE-2018-16802 [HIGH] CVE-2018-16802: An issue was discovered in Artifex Ghostscript before 9
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling [fedora-all]
bugzilla·2018-09-12·CVSS 7.8
CVE-2018-16802 [HIGH] CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling [fedora-all]
CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling [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 m
Bugzilla
CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
bugzilla·2018-09-12·CVSS 7.8
CVE-2018-16802 [HIGH] CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
CVE-2018-16802 ghostscript: Incorrect "restoration of privilege" checking when running out of stack during exception handling
An issue was discovered in Artifex Ghostscript before 9.25. Incorrect "restoration of privilege" checking when running out of stack during exception handling could be used by attackers able to supply crafted PostScript to execute code using the "pipe" instruction. This is due to an incomplete fix for CVE-2018-16509.
References:
https://seclists.org/oss-sec/2018/q3/228
https://seclists.org/oss-sec/2018/q3/229
https://seclists.org/oss-sec/2018/q3/233
Upstream Patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=643b24db
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=3e5d316b
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5812b1b7
Di
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47https://access.redhat.com/errata/RHSA-2018:3834https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://seclists.org/oss-sec/2018/q3/228https://seclists.org/oss-sec/2018/q3/229https://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.debian.org/security/2018/dsa-4294http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=3e5d316b72e3965b7968bb1d96baa137cd063ac6http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=643b24dbd002fb9c131313253c307cf3951b3d47https://access.redhat.com/errata/RHSA-2018:3834https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5812b1b78fc4d36fdc293b7859de69241140d590https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://seclists.org/oss-sec/2018/q3/228https://seclists.org/oss-sec/2018/q3/229https://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.debian.org/security/2018/dsa-4294
2018-09-10
Published