Artifex · Ghostscript · CWE-704 · published 2017-04-27

CVE-2017-8291Artifex Ghostscript Type Confusion Vulnerability

This week Known exploited in the wild.

CVE-2017-8291 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-05-24. EPSS estimates a 97% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Ghostscript vulnerability: CVSS 7.8 (v3.1), a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2022-06-14. Patch this week.

Share this

Remediation#

CISA required action: Apply updates per vendor instructions. (federal due date 2022-06-14)

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixieghostscriptFixed in 9.20~dfsg-3.1
12 bookwormghostscriptFixed in 9.20~dfsg-3.1
Ubuntu16.04 LTSghostscriptFixed in 9.18~dfsg~0-0ubuntu2.4
14.04 LTSghostscriptFixed in 9.10~dfsg-0ubuntu10.7
Red Hat Enterprise LinuxRHEL 7ghostscriptFixed in 9.07-20.el7_3.5 RHSA-2017:1230
RHEL 6ghostscriptFixed in 8.70-23.el6_9.2 RHSA-2017:1230
RHEL 5ghostscriptWon’t fix

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This weekExploited (KEV)CISA due 2022-06-14

    Library & CLI toolArtifex Ghostscript

    Type ConfusionCVE-2017-8291

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2022-05-24CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)97% (100th pct)FIRST EPSS v2026.06.15
CVSS base score7.8 (v3.1)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-704: Incorrect Type Conversion or Cast

More from this vendor: all Artifex vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →