CVE-2017-8291
Confirmed PUBLISHEDArtifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Apr 27, 2017
- Exploitation Reported
- May 24, 2022
- CVSS
- 7.8 High
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
n/a
|
n/a |
Affected |
CVE References
- DSA-3838 debian.org · Vendor Advisory http://www.debian.org/security/2017/dsa-3838
- RHSA-2017:1230 access.redhat.com · Vendor Advisory https://access.redhat.com/errata/RHSA-2017:1230
- GLSA-201708-06 security.gentoo.org · Vendor Advisory https://security.gentoo.org/glsa/201708-06
- 41955 exploit-db.com · Exploit https://www.exploit-db.com/exploits/41955/
- 98476 securityfocus.com · VDB Entry http://www.securityfocus.com/bid/98476
Show 5 more references
- bugzilla.suse.com/show_bug.cgi bugzilla.suse.com · CVE Record https://bugzilla.suse.com/show_bug.cgi?id=1036453
- OSS-Security Mailing List openwall.com · CVE Record http://openwall.com/lists/oss-security/2017/04/28/2
- bugzilla.redhat.com/show_bug.cgi bugzilla.redhat.com · CVE Record https://bugzilla.redhat.com/show_bug.cgi?id=1446063
- git.ghostscript.com git.ghostscript.com · CVE Record https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce1...
- bugs.ghostscript.com/show_bug.cgi bugs.ghostscript.com · CVE Record https://bugs.ghostscript.com/show_bug.cgi?id=697808
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-05-24 00:00 UTC |
No detection artifacts or sensor request patterns are available for this CVE yet.
Check back as sensor telemetry and scanner integrations are updated.
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2022-05-24 00:00:00 UTC · CISA
Proof of concept available
Recorded 2025-04-27 09:04:54 UTC · GitHub
Weaknesses (CWE)
-
Access of Resource Using Incompatible Type ('Type Confusion')
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2025-04-27 11:11:22 UTC · 0 stars
github · Created 2025-04-27 09:04:54 UTC · 0 stars
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
09:04 UTC about 1 year ago09:04 UTC · about 1 year ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC about 4 years ago00:00 UTC · about 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
01:41 UTC about 9 years ago01:41 UTC · about 9 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC about 9 years ago00:00 UTC · about 9 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2017-8291
{
"cve_id": "CVE-2017-8291",
"title": "Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote comma...",
"affected_vendor": "Artifex",
"affected_product": "Ghostscript",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 7.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}