CVE-2017-8291
mediumpriority · act · 90OT risk · criticalKEV · exploitedEPSS 0.970 · 100 %ileexploit · weaponizedEURUUSadded 2022-05-24remediate by 2022-06-14
required action Apply updates per vendor instructions.
EPSS · scored 2026-10-23
Artifex Ghostscript Type Confusion Vulnerability
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (6)
Public proof-of-concept and weaponised exploit code.
- EDB-41955Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)functional · exploit_db
- DaniilOrchikov/PIL-CVE-2017-8291DaniilOrchikov/PIL-CVE-2017-8291PoC · poc_in_github
- hkcfs/PIL-CVE-2017-8291CVE-2017-8291 CTF with docker and examplesPoC · poc_in_github
- shun1403/CVE-2017-8291shun1403/CVE-2017-8291PoC · poc_in_github
- shun1403/PIL-CVE-2017-8291-studyshun1403/PIL-CVE-2017-8291-studyPoC · poc_in_github
affected products (25)
Products and version ranges known to be affected.
- redhat enterprise linux server aus= 7.3nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server aus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server aus= 7.6nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server aus= 7.7nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- https://bugs.ghostscript.com/show_bug.cgi?id=697808cnnvd
- http://openwall.com/lists/oss-security/2017/04/28/2enisa_euvd
- http://www.debian.org/security/2017/dsa-3838enisa_euvd
- http://www.securityfocus.com/bid/98476enisa_euvd
- https://access.redhat.com/errata/RHSA-2017:1230enisa_euvd
- https://bugs.ghostscript.com/show_bug.cgi?id=697808enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063enisa_euvd
- https://bugzilla.suse.com/show_bug.cgi?id=1036453enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan