CVE-2017-8291
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v3.0•HIGH•Score: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 96.97%• Percentile: 100%
Techniques & Countermeasures
- CWE-843•Access of Resource Using Incompatible Type ('Type Confusion')
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Affected Systems
- artifex•ghostscript
< 9.21
- debian•ghostscript
< 9.20~dfsg-3.1 | < 9.20~dfsg-3.1 | < 9.20~dfsg-3.1 | < 9.20~dfsg-3.1
- debian•debian_linux
8.0
- redhat•enterprise_linux_desktop
6.0 | 7.0
- redhat•enterprise_linux_eus
7.3 | 7.4 | 7.5 | 7.6 | 7.7
- redhat•enterprise_linux_server
6.0 | 7.0
- redhat•enterprise_linux_server_aus
7.3 | 7.4 | 7.6 | 7.7
- redhat•enterprise_linux_server_tus
7.3 | 7.6 | 7.7
- redhat•enterprise_linux_workstation
6.0 | 7.0
- redhat•ghostscript
< 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
- redhat•ghostscript-cups
< 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
- redhat•ghostscript-debuginfo
< 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
- redhat•ghostscript-devel
< 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
- redhat•ghostscript-doc
< 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
- redhat•ghostscript-gtk
< 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:8.70-23.el6_9.2 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5 | < 0:9.07-20.el7_3.5
References (18)
- http://www.debian.org/security/2017/dsa-3838
- https://bugzilla.suse.com/show_bug.cgi?id=1036453
- https://access.redhat.com/errata/RHSA-2017:1230
- http://www.securityfocus.com/bid/98476
- https://www.exploit-db.com/exploits/41955/
- http://openwall.com/lists/oss-security/2017/04/28/2
- https://security.gentoo.org/glsa/201708-06
- https://bugzilla.redhat.com/show_bug.cgi?id=1446063
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=04b37bbce174eed24edec7ad5b920eb93db4d47d
- https://bugs.ghostscript.com/show_bug.cgi?id=697808
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-8291
- https://security-tracker.debian.org/tracker/CVE-2017-8291
- https://access.redhat.com/security/updates/classification/#important
- https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_1230.json
- https://access.redhat.com/security/cve/CVE-2017-8291
- https://www.cve.org/CVERecord?id=CVE-2017-8291
- https://nvd.nist.gov/vuln/detail/CVE-2017-8291
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog