Bug 1677588 (CVE-2019-3835) - CVE-2019-3835 ghostscript: superexec operator is available (700585)
Summary: CVE-2019-3835 ghostscript: superexec operator is available (700585)
Alias: CVE-2019-3835
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1678170 1678171 1678172 1691327 1693804
Blocks: 1673302
TreeView+ depends on / blocked
Reported: 2019-02-15 10:06 UTC by Cedric Buissart
Modified: 2021-02-16 22:22 UTC (History)
5 users (show)

Fixed In Version: ghostscript 9.27
Doc Type: If docs needed, set a value
Doc Text:
It was found that the superexec operator was available in the internal dictionary. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.
Clone Of:
Last Closed: 2019-05-07 19:21:43 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0633 0 None None None 2019-03-21 16:53:42 UTC
Red Hat Product Errata RHSA-2019:0971 0 None None None 2019-05-07 04:18:44 UTC

Description Cedric Buissart 2019-02-15 10:06:40 UTC
The superexec operator is available via either systemdict or internaldict, depending on ghostscript version. An attacker could use this flaw  to bypass -dSAFER restrictions and, for example, have access to the file system outside of the designated restricted directories.

Comment 1 Cedric Buissart 2019-02-15 10:07:32 UTC
External References:


Comment 2 Cedric Buissart 2019-02-15 10:24:24 UTC

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

Comment 4 Cedric Buissart 2019-02-18 09:05:30 UTC
Upstream fixes:
 * Fix bug 700585: Restrict superexec and remove it from internals and gs_cet.ps

 * Bug 700585: Obliterate "superexec". We don't need it, nor do any known apps.

Comment 11 Cedric Buissart 2019-03-21 11:14:17 UTC

Name: Cedric Buissart (Red Hat)

Comment 12 Cedric Buissart 2019-03-21 12:12:34 UTC
Created ghostscript tracking bugs for this issue:

Affects: fedora-all [bug 1691327]

Comment 13 errata-xmlrpc 2019-03-21 16:53:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0633 https://access.redhat.com/errata/RHSA-2019:0633

Comment 14 errata-xmlrpc 2019-05-07 04:18:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:0971 https://access.redhat.com/errata/RHSA-2019:0971

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