Arbitrary Command Injection Affecting ghostscript-cups package, versions <0:9.07-20.el7_3.5
Threat Intelligence
Exploit Maturity
Mature
EPSS
49% (98th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS7-GHOSTSCRIPTCUPS-2079842
- published 26 Jul 2021
- disclosed 26 Apr 2017
Introduced: 26 Apr 2017
CVE-2017-8291 Open this link in a new tabHow to fix?
Upgrade Centos:7 ghostscript-cups to version 0:9.07-20.el7_3.5 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ghostscript-cups package and not the ghostscript-cups package as distributed by Centos.
See How to fix? for Centos:7 relevant fixed versions and status.
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.
References
- http://www.securityfocus.com/bid/98476
- https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=04b37bbce174eed24edec7ad5b920eb93db4d47d
- https://access.redhat.com/security/cve/CVE-2017-8291
- http://www.debian.org/security/2017/dsa-3838
- https://www.exploit-db.com/exploits/41955/
- https://security.gentoo.org/glsa/201708-06
- http://openwall.com/lists/oss-security/2017/04/28/2
- 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://access.redhat.com/errata/RHSA-2017:1230
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
- https://www.exploit-db.com/exploits/41955
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
CVSS Scores
version 3.1