CVE-2018-16539
published 2018-09-05CVE-2018-16539: In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose…
PriorityP425medium5.5CVSS 3.0
AVLACLPRNUIRSUCHINAN
EPSS
1.44%
70.3th percentile
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | < 9.24 | 9.24 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-3 | 9.22~dfsg-3 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.22~dfsg-3 (bookworm) | ghostscript 9.22~dfsg-3 (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.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_redhat7.8HIGH
vendor_debian5.5MEDIUM
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 access checking in temp file handling to disclose contents of files (699658)
vendor_redhat·2018-09-06·CVSS 7.8
CVE-2018-16539 [HIGH] CWE-377 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658)
ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658)
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
It was discovered that the ghostscript did not properly restrict access to files open prior to enabling the -dSAFER mode. An attacker could possibly exploit this to bypass the -dSAFER protection and disclose the content of affected files via a specially crafted PostScript document.
Statement: This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 5, 6, and 7.
Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and mainte
Debian
CVE-2018-16539: ghostscript - In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript ...
vendor_debian·2018·CVSS 5.5
CVE-2018-16539 [MEDIUM] CVE-2018-16539: ghostscript - In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript ...
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
Scope: local
bookworm: resolved (fixed in 9.22~dfsg-3)
bullseye: resolved (fixed in 9.22~dfsg-3)
forky: resolved (fixed in 9.22~dfsg-3)
sid: resolved (fixed in 9.22~dfsg-3)
trixie: resolved (fixed in 9.22~dfsg-3)
GHSA
GHSA-prv5-j87r-4g4g: In Artifex Ghostscript before 9
ghsa_unreviewed·2022-05-14
CVE-2018-16539 [MEDIUM] CWE-200 GHSA-prv5-j87r-4g4g: In Artifex Ghostscript before 9
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
OSV
CVE-2018-16539: In Artifex Ghostscript before 9
osv·2018-09-05·CVSS 5.5
CVE-2018-16539 [MEDIUM] CVE-2018-16539: In Artifex Ghostscript before 9
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658) [fedora-all]
bugzilla·2018-09-06·CVSS 5.5
CVE-2018-16539 [MEDIUM] CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658) [fedora-all]
CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658) [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-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658)
bugzilla·2018-09-06·CVSS 7.8
CVE-2018-16539 [HIGH] CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658)
CVE-2018-16539 ghostscript: incorrect access checking in temp file handling to disclose contents of files (699658)
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use incorrect access checking in temp file handling to disclose contents of files on the system otherwise not readable.
External Reference:
https://www.kb.cert.org/vuls/id/332928
https://www.artifex.com/news/ghostscript-security-resolved/
Upstream Bug:
https://bugs.ghostscript.com/show_bug.cgi?id=699658
Upstream Patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=a054156d
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1625840]
---
Statement:
This issue affects the versions of ghostscript as shipped with Red Hat Enterprise
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=a054156d425b4dbdaaa9fda4b5f1182b27598c2bhttps://access.redhat.com/errata/RHSA-2018:3650https://bugs.ghostscript.com/show_bug.cgi?id=699658https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.artifex.com/news/ghostscript-security-resolved/https://www.debian.org/security/2018/dsa-4288http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=a054156d425b4dbdaaa9fda4b5f1182b27598c2bhttps://access.redhat.com/errata/RHSA-2018:3650https://bugs.ghostscript.com/show_bug.cgi?id=699658https://lists.debian.org/debian-lts-announce/2018/09/msg00015.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3768-1/https://www.artifex.com/news/ghostscript-security-resolved/https://www.debian.org/security/2018/dsa-4288
2018-09-05
Published