CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability - [Actively Exploited]
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.
INFO
Published Date :
April 27, 2017, 1:59 a.m.
Last Modified :
March 14, 2025, 8:34 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
Apply updates per vendor instructions.
https://nvd.nist.gov/vuln/detail/CVE-2017-8291
Public PoC/Exploit Available at Github
CVE-2017-8291 has a 17 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-8291
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-8291
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
None
None
一个漏洞利用工具仓库
Python PHP Java C Makefile C++ Dockerfile Shell Perl RPC
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
一个Vulhub漏洞复现知识库
vulnerability exploit
一个漏洞POC知识库 目前数量 1000+
poc
Change UploadScanner extension a bit to suit some of the target
HTML Python Perl
Python library for ReversingLabs services - Python 3 version.
Python
None
None
None
HTML Python Perl
This repository contains various media files for known attacks on web applications processing media files. Useful for penetration tests and bug bounty.
PostScript
PoC + Docker Environment for Python PIL/Pillow Remote Shell Command Execution via Ghostscript CVE-2018-16509
docker web-security python pillow ghostscript
Dockerfile Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-8291
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-8291
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Mar. 14, 2025
Action Type Old Value New Value -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 04, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-843 -
Modified Analysis by [email protected]
Jan. 22, 2025
Action Type Old Value New Value -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://openwall.com/lists/oss-security/2017/04/28/2 Added Reference http://www.debian.org/security/2017/dsa-3838 Added Reference http://www.securityfocus.com/bid/98476 Added Reference https://access.redhat.com/errata/RHSA-2017:1230 Added Reference https://bugs.ghostscript.com/show_bug.cgi?id=697808 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1036453 Added Reference https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Added Reference https://security.gentoo.org/glsa/201708-06 Added Reference https://www.exploit-db.com/exploits/41955/ -
Modified Analysis by [email protected]
Jul. 02, 2024
Action Type Old Value New Value Removed CVSS V3 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.debian.org/security/2017/dsa-3838 No Types Assigned http://www.debian.org/security/2017/dsa-3838 Mailing List, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/98476 No Types Assigned http://www.securityfocus.com/bid/98476 Broken Link, Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1230 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1230 Third Party Advisory Changed Reference Type https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d No Types Assigned https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d Broken Link Changed Reference Type https://security.gentoo.org/glsa/201708-06 No Types Assigned https://security.gentoo.org/glsa/201708-06 Third Party Advisory Changed Reference Type https://www.exploit-db.com/exploits/41955/ No Types Assigned https://www.exploit-db.com/exploits/41955/ Exploit, Third Party Advisory, VDB Entry Removed CWE NIST CWE-704 Added CWE NIST CWE-843 Changed CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (including) 9.21 OR *cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:* versions up to (excluding) 9.21 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.7:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d [No types assigned] Removed Reference MITRE https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d -
CVE Modified by [email protected]
Jan. 05, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2017:1230 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 04, 2017
Action Type Old Value New Value Added Reference http://www.debian.org/security/2017/dsa-3838 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 22, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201708-06 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 16, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/41955/ [No Types Assigned] -
CVE Modified by [email protected]
May. 27, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/98476 [No Types Assigned] -
Initial Analysis by [email protected]
May. 10, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1036453 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1036453 Exploit, Issue Tracking, Third Party Advisory, VDB Entry Changed Reference Type https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d No Types Assigned https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d Patch, Vendor Advisory Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=697808 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=697808 Issue Tracking, Third Party Advisory, VDB Entry Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1446063 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1446063 Issue Tracking, Patch, Third Party Advisory, VDB Entry Changed Reference Type http://openwall.com/lists/oss-security/2017/04/28/2 No Types Assigned http://openwall.com/lists/oss-security/2017/04/28/2 Mailing List, Patch, Third Party Advisory Added CWE CWE-704 Added CPE Configuration OR *cpe:2.3:a:artifex:ghostscript:9.21:*:*:*:*:*:*:* (and previous) -
CVE Modified by [email protected]
Apr. 29, 2017
Action Type Old Value New Value Added Reference https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d [No Types Assigned] Added Reference http://openwall.com/lists/oss-security/2017/04/28/2 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 28, 2017
Action Type Old Value New Value Changed Description Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via 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. 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. Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1036453 [No Types Assigned] Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1446063 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-8291
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-8291
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
92.25 }} 0.48%
score
0.99721
percentile