CVEs / CVE-2017-8291
CVE-2017-8291: Artifex Ghostscript Type Confusion Vulnerability
- Known exploited in the CISA KEV catalog since 24 May 2022
- high 7.8 CVSS 3.1 (NVD)
- EPSS 96.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-8291
Summary
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 24 May 2022 |
|---|---|
| Due date for US federal agencies | 14 Jun 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-843 |
References
- CVE-2017-8291 on NVD
- CVE-2017-8291 in the CISA KEV catalog
- CVE-2017-8291 on OSV
- 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
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.