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 2024-07-02 13:01:53
Source MITRE
View at NVD,   CVE.org

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.
Added on 2022-05-24 Action due date 2022-06-14

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

49.00%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 98 %
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
NIST 2024-07-02

CWE ids for CVE-2017-8291

References for CVE-2017-8291

Products affected by CVE-2017-8291

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!