high7.8Known exploitedPublic exploit code
CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
Exploited in the wild
This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2022-05-24. Federal due date: 2022-06-14.
Apply updates per vendor instructions.
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Ghostscript 9.21 - Type Confusion Arbitrary Command Execution (Metasploit)2017-05-02 · local · linux · Verified
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Artifex | Ghostscript | before 9.21 |
| Debian | Debian Linux | Version 8.0 |
| Redhat | Enterprise Linux Desktop | Versions 6.0, 7.0 |
| Redhat | Enterprise Linux Eus | Versions 7.3, 7.4, 7.5, 7.6, 7.7 |
| Redhat | Enterprise Linux Server | Versions 6.0, 7.0 |
| Redhat | Enterprise Linux Server Aus | Versions 7.3, 7.4, 7.6, 7.7 |
| Redhat | Enterprise Linux Server Tus | Versions 7.3, 7.6, 7.7 |
| Redhat | Enterprise Linux Workstation | Versions 6.0, 7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- CISA KEV catalog
- http://openwall.com/lists/oss-security/2017/04/28/2
- http://www.debian.org/security/2017/dsa-3838
- http://www.securityfocus.com/bid/98476
- https://access.redhat.com/errata/RHSA-2017:1230
- https://bugs.ghostscript.com/show_bug.cgi?id=697808
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063
- https://bugzilla.suse.com/show_bug.cgi?id=1036453
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
- https://security.gentoo.org/glsa/201708-06
- https://www.exploit-db.com/exploits/41955/
- http://openwall.com/lists/oss-security/2017/04/28/2
- http://www.debian.org/security/2017/dsa-3838
- http://www.securityfocus.com/bid/98476
- https://access.redhat.com/errata/RHSA-2017:1230
- https://bugs.ghostscript.com/show_bug.cgi?id=697808
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063
- https://bugzilla.suse.com/show_bug.cgi?id=1036453
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
- https://security.gentoo.org/glsa/201708-06
- https://www.exploit-db.com/exploits/41955/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291