CVE-2018-16585
published 2018-09-06CVE-2018-16585: An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during…
PriorityP336high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
1.72%
74.9th percentile
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.24 | 9.24 |
| 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) |
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: .setdistillerkeys PostScript command is accepted even though it is not intended for use
vendor_redhat·2018-09-06·CVSS 7.8
CVE-2018-16585 [HIGH] CWE-119 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
Statement: There are no .setdistillerkeys operator in ghostscript. It is suspected it might be a typo from .distillerparamkeys or .setdistillerpa
Debian
CVE-2018-16585: ghostscript - An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkey...
vendor_debian·2018·CVSS 7.8
CVE-2018-16585 [HIGH] CVE-2018-16585: ghostscript - An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkey...
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
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-4j37-xf23-h2px: ** DISPUTED ** An issue was discovered in Artifex Ghostscript before 9
ghsa_unreviewed·2022-05-13·CVSS 7.8
CVE-2018-16585 [HIGH] CWE-119 GHSA-4j37-xf23-h2px: ** DISPUTED ** An issue was discovered in Artifex Ghostscript before 9
** DISPUTED ** An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193).
OSV
CVE-2018-16585: An issue was discovered in Artifex Ghostscript before 9
osv·2018-09-06·CVSS 7.8
CVE-2018-16585 [HIGH] CVE-2018-16585: An issue was discovered in Artifex Ghostscript before 9
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
bugzilla·2018-09-06·CVSS 7.8
CVE-2018-16585 [HIGH] CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use
An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact.
References:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=1497d65039885a52b598b137dd8622bd4672f9be
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=971472c83a345a16dac9f90f91258bb22dd77f22
https://seclists.org/oss-sec/2018/q3/182
Discussion:
Created ghostscript tracking bugs for this
Bugzilla
CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use [fedora-all]
bugzilla·2018-09-06·CVSS 7.8
CVE-2018-16585 [HIGH] CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use [fedora-all]
CVE-2018-16585 ghostscript: .setdistillerkeys PostScript command is accepted even though it is not intended for use [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.
N
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=1497d65039885a52b598b137dd8622bd4672f9behttp://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=971472c83a345a16dac9f90f91258bb22dd77f22https://bugzilla.redhat.com/show_bug.cgi?id=1626193https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://seclists.org/oss-sec/2018/q3/182https://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.debian.org/security/2018/dsa-4288http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=1497d65039885a52b598b137dd8622bd4672f9behttp://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=971472c83a345a16dac9f90f91258bb22dd77f22https://bugzilla.redhat.com/show_bug.cgi?id=1626193https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://seclists.org/oss-sec/2018/q3/182https://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.debian.org/security/2018/dsa-4288
2018-09-06
Published