Bug 1446063 (CVE-2017-8291)
| Summary: | CVE-2017-8291 ghostscript: corruption of operand stack | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Adam Mariš <amaris> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | abhgupta, cbuissar, deekej, kseifried, slawomir, tiwillia, twaugh, yozone, zdohnal |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: |
It was found that ghostscript did not properly validate the parameters passed to the .rsdparams and .eqproc functions. During its execution, a specially crafted PostScript document could execute code in the context of the ghostscript process, bypassing the -dSAFER protection.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-12 11:51:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1446064, 1447220, 1447221, 1447222, 1447223 | ||
| Bug Blocks: | 1445360, 1446066 | ||
|
Description
Adam Mariš
2017-04-27 08:03:21 UTC
Created ghostscript tracking bugs for this issue: Affects: fedora-all [bug 1446064] [Updated] Upstream patches: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=04b37bbce1 https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f83478c88 https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=57f20719 https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac This is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1445359 *** Bug 1445359 has been marked as a duplicate of this bug. *** Note: The original patch has a regression in some rare conditions (when using the "DELAYBIND" feature). In such situation, the additional patch is required : http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=57f20719 It appears that the additional patch in comment 9 has its own regression. One more patch : * Bug 697892: fix check for op stack underflow. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac This issue has been addressed in the following products: Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 Via RHSA-2017:1230 https://access.redhat.com/errata/RHSA-2017:1230 |