CVE Tools

CVE-2017-8291

CVE-2017-8291 affects Artifex Ghostscript (CVSS 7.8, High).

Exploited in the wild. In CISA KEV since 2022‑05‑24. Fixed in 9.21.

Check it yourself

OpenVAS · 25 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.703838

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • Artifex GhostscriptAffected: < 9.21Upgrade to: 9.21Stated by: NVD
  • Red Hat Inc. Red Hat Enterprise LinuxAffected: 6Upgrade to: not statedStated by: BDU
  • Open-source community Debian GNU/LinuxAffected: 8Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

Coverage timeline

1 publisher
  1. Added to CISA KEV catalog

    ·CISA KEV

Sourced from public security reporting — each date is when it was published, not when it happened.

What it is

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.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV
CISA KEV

Listed as exploited in the wild since 2022-05-24.

US federal agencies must remediate by 2022-06-14.

Apply updates per vendor instructions.
Public exploits

3 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

97% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

A public exploit existed 46 days before the patch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Public exploit / PoCsource: exploit-db
  4. Added to CISA KEV
  5. Publishedweakness classified, att&ck mapped

Affected products

And 7 more affected products. See all after sign-in

Technical detail

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Scored 7.8 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2017-8291

Is CVE-2017-8291 being exploited?
Yes. CVE-2017-8291 is in CISA's Known Exploited Vulnerabilities catalog since 2022-05-24, which means attackers are using it in the wild.
Which versions are affected by CVE-2017-8291?
Ghostscript: < 9.21. Red Hat Enterprise Linux: 6. Debian GNU/Linux: 8.
How do I fix or mitigate CVE-2017-8291?
Upgrade to 9.21 or later. The advisory is on openwall.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Ghostscript, not every advisory. This one: actively exploited.