CVEvulnerability
CVE-2017-8291
CISA Known Exploited Vulnerability
Artifex Ghostscript Type Confusion Vulnerability — Artifex Ghostscript
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
- Added to KEV
- 2022-05-24
- Remediation due
- 2022-06-14
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2017-8291
- Status
- Analyzed
- Published
- 2017-04-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-843
Description
Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring in a crafted .eps document that is an input to the gs program, as exploited in the wild in April 2017.
Affected configurations
• artifex ghostscript (< 9.21)
• debian debian linux 8.0
• redhat enterprise linux desktop 6.0
• redhat enterprise linux desktop 7.0
• redhat enterprise linux eus 7.3
• redhat enterprise linux eus 7.4
• redhat enterprise linux eus 7.5
• redhat enterprise linux eus 7.6
• redhat enterprise linux eus 7.7
• redhat enterprise linux server 6.0
• redhat enterprise linux server 7.0
• redhat enterprise linux server aus 7.3
• redhat enterprise linux server aus 7.4
• redhat enterprise linux server aus 7.6
• redhat enterprise linux server aus 7.7
• redhat enterprise linux server tus 7.3
• redhat enterprise linux server tus 7.6
• redhat enterprise linux server tus 7.7
• redhat enterprise linux workstation 6.0
• redhat enterprise linux workstation 7.0
Related
Weakness · CWE (1)
- CWE-843 Access of Resource Using Incompatible Type weakness
References
- http://openwall.com/lists/oss-security/2017/04/28/2 Mailing List, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3838 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/98476 Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1230 Third Party Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697808 Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://bugzilla.suse.com/show_bug.cgi?id=1036453 Exploit, Issue Tracking, Third Party Advisory, VDB Entry
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Broken Link
- https://security.gentoo.org/glsa/201708-06 Third Party Advisory
- https://www.exploit-db.com/exploits/41955/ Exploit, Third Party Advisory, VDB Entry
- http://openwall.com/lists/oss-security/2017/04/28/2 Mailing List, Patch, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3838 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/98476 Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1230 Third Party Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697808 Issue Tracking, Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Issue Tracking, Patch, Third Party Advisory, VDB Entry
- https://bugzilla.suse.com/show_bug.cgi?id=1036453 Exploit, Issue Tracking, Third Party Advisory, VDB Entry
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Broken Link
- https://security.gentoo.org/glsa/201708-06 Third Party Advisory
- https://www.exploit-db.com/exploits/41955/ Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291 US Government Resource