VDB
CVE-2017-8291
CVE-2017-8291
PUBLISHED
CVSS 7.8 HIGH
Reported by mitre · Published April 27, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ghostscript | Arch Linux | 9.21-2 |
| ghostscript | Alpine | 9.21-r2, 9.21-r0 |
| ghostscript | Ubuntu:16.04:LTS | 9.18~dfsg~0-0ubuntu2.4 |
| ghostscript | artifex | 9.21 |
| ghostscript | Ubuntu:14.04:LTS | 9.10~dfsg-0ubuntu10.7 |
Risk scores
CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | ghostscript | 0 |
| Artifex | Ghostscript | |
| alpine | ghostscript | 0, 0 |
| n/a | n/a | * |
Timeline
- Apr 27, 2017 VulnCheck KEV Exploitation (5 in total, the first dated here)
- Apr 27, 2017 PoC Published (3 in total, the first dated here)
- Apr 27, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- May 24, 2022 CISA KEV Added
- Apr 27, 2025 VulnCheck XDB Entry (3 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Sep 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-8291
vulnetix vdb fixes CVE-2017-8291
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-8291/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-3838 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- RHSA-2017:1230 vendor-advisoryx_refsource_REDHAT
- 98476 vdb-entryx_refsource_BID
- 41955 exploitx_refsource_EXPLOIT-DB
- x_refsource_MISC
- GLSA-201708-06 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291 advisory