CVE-2017-8291

high KEV
Published 2022-05-24 ยท Modified 2022-05-24
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
10.0

Description

Artifex Ghostscript allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile.

CISA KEV

Vendor
Artifex
Product
Ghostscript
Due date
2022-06-14

Predictions

Exploit likelihood
99%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-41955 local linux verified
Metasploit ยท 2017-05-02

Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Ghostscript Type Confusion Arbitrary Command Execution
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 9.21-2
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 9.20~dfsg-3.1
sid Fixed 9.20~dfsg-3.1
forky Fixed 9.20~dfsg-3.1
bullseye Fixed 9.20~dfsg-3.1
bookworm Fixed 9.20~dfsg-3.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.