CVE-2017-8291KEV · OVERDUE

Artifex Ghostscript Type Confusion Vulnerability

High · published April 27, 2017

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 7.8. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

1591
days past CISA
deadline
CVSS v3.1
7.8
EPSS
97%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 A crafty command execution flaw in Ghostscript could turn any specially crafted EPS document into a digital Trojan horse! 🔥 Think of this like a sneaky chef slipping a dangerous ingredient into a seemingly harmless recipe. The kitchen (Ghostscript) trusts anything it’s fed, allowing harmful commands through when it should be checking the menu first! An attacker could exploit this vulnerability by sending a poisoned .eps file, leading to remote command execution. This means they could effectively take control of the server, wreaking havoc on your system without you even realizing it!

Put simply

Think of this like a sneaky chef slipping a dangerous ingredient into a seemingly harmless recipe. The kitchen (Ghostscript) trusts anything it’s fed, allowing harmful commands through when it should be checking the menu first! This vulnerability arises from a -dSAFER bypass due to type confusion with the '.rsdparams' parameter combined with a '/OutputFile (%pipe%' substring in a crafted EPS document. It allows untrusted input to execute commands that should be strictly controlled.

What to do

An attacker could exploit this vulnerability by sending a poisoned .eps file, leading to remote command execution. This means they could effectively take control of the server, wreaking havoc on your system without you even realizing it! Immediately update Ghostscript to the latest version where this vulnerability is patched. Additionally, review your file handling processes to ensure no untrusted EPS files are processed without stringent checks and controls in place. You've got this! Fixing this issue can strengthen your defenses and keep your system safe! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.96968 · 99.9th percentile
Published
2017-04-27T01:41Z
KEV added
2022-05-24 · due 2022-06-14
EPSS history
Timeline
  • 24 MAY 00:00Z
    Added to CISA KEV — remediate by Jun 14
    kev
  • 27 APR 01:41Z
    Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile (%pipe%" substring…
    cvelistv5