Bug 1621361 (CVE-2018-15909) - CVE-2018-15909 ghostscript: shading_param incomplete type checking (699660)
Summary: CVE-2018-15909 ghostscript: shading_param incomplete type checking (699660)
Status: CLOSED ERRATA
Alias: CVE-2018-15909
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=important,public=20180828,repo...
Keywords: Security
Depends On: 1621384 1621381 1622757 1622758
Blocks: 1619570
TreeView+ depends on / blocked
 
Reported: 2018-08-23 15:24 UTC by Stefan Cornelius
Modified: 2019-06-08 23:33 UTC (History)
15 users (show)

(edit)
It was discovered that the ghostscript .shfill operator did not properly validate certain types. An attacker could possibly exploit this to bypass the -dSAFER protection and crash ghostscript or, possibly, execute arbitrary code in the ghostscript context via a specially crafted PostScript document.
Clone Of:
(edit)
Last Closed: 2018-11-28 15:44:00 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3650 None None None 2018-11-27 01:21 UTC

Description Stefan Cornelius 2018-08-23 15:24:02 UTC
It was discovered that the ghostscript .shfill operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash ghostscript or, possibly, execute arbitrary code in the context of the ghostscript process.

Patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=0b6cd1918e1ec4ffd087400a754a845180a4522b

Comment 3 Stefan Cornelius 2018-08-24 13:32:46 UTC
This patch is also required:
http://git.ghostscript.com/?p=ghostpdl.git;h=e01e77a36cbb2e0277bc3a63852244bec41be0f6

Comment 4 Sam Fowler 2018-08-28 00:46:41 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1622757]

Comment 7 Cedric Buissart 🐶 2018-11-20 10:01:21 UTC
Mitigation:

Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509

Comment 8 Cedric Buissart 🐶 2018-11-20 10:10:47 UTC
Statement:

This issue affects the versions of ghostscript as shipped with Red Hat Enterprise Linux 5, 6, and 7.

Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Important, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 9 errata-xmlrpc 2018-11-27 01:21:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3650 https://access.redhat.com/errata/RHSA-2018:3650


Note You need to log in before you can comment on or make changes to this bug.