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.
Published 2017-04-27 01:59:02
Updated 2025-03-14 20:34:14
Source MITRE
View at NVD,   CVE.org

Products affected by CVE-2017-8291

CVE-2017-8291 is in the CISA Known Exploited Vulnerabilities Catalog

CISA vulnerability name:
Artifex Ghostscript Type Confusion Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.
Notes:
https://nvd.nist.gov/vuln/detail/CVE-2017-8291
Added on 2022-05-24 Action due date 2022-06-14

Exploit prediction scoring system (EPSS) score for CVE-2017-8291

92.68%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2017-8291

  • Ghostscript Type Confusion Arbitrary Command Execution
    Disclosure Date: 2017-04-27
    First seen: 2020-04-26
    exploit/unix/fileformat/ghostscript_type_confusion
    This module exploits a type confusion vulnerability in Ghostscript that can be exploited to obtain arbitrary command execution. This vulnerability affects Ghostscript versions 9.21 and earlier and can be exploited through libraries such as ImageMagick and Pillow.

CVSS scores for CVE-2017-8291

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.8
MEDIUM AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
NIST
7.8
HIGH CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1.8
5.9
NIST
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1.8
5.9
134c704f-9b21-4f2e-91b3-4a467353bcc0 2025-02-04
7.8
HIGH CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1.8
5.9
NIST 2024-07-02

CWE ids for CVE-2017-8291

References for CVE-2017-8291

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!