CVE-2019-3835
It was found that the superexec operator was available in the internal dictionary in ghostscript before 9.27. 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.
What to do
Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | ghostscript | Fixed | 9.26~dfsg+0-0ubuntu0.18.04.8 | UBUNTU-CVE-2019-3835 |
| Ubuntu 16.04 | ghostscript | Fixed | 9.26~dfsg+0-0ubuntu0.16.04.8 | UBUNTU-CVE-2019-3835 |
| Ubuntu 14.04 | ghostscript | Fixed | 9.26~dfsg+0-0ubuntu0.14.04.8 | UBUNTU-CVE-2019-3835 |
| Debian 14 | ghostscript | Fixed | 9.27~dfsg-1 | DEBIAN-CVE-2019-3835 |
| Debian 13 | ghostscript | Fixed | 9.27~dfsg-1 | DEBIAN-CVE-2019-3835 |
| Debian 12 | ghostscript | Fixed | 9.27~dfsg-1 | DEBIAN-CVE-2019-3835 |
| Red Hat Enterprise Linux 8 | ghostscript | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | ghostscript-doc | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-dvipdf | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-fonts | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-printing | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | ghostscript-x11 | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | libgs | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 8 | libgs-devel | Fixed | 0:9.25-2.el8_0.1 | RHSA-2019:0971 |
| Red Hat Enterprise Linux 7 | ghostscript | Fixed | 0:9.07-31.el7_6.10 | RHSA-2019:0633 |
| Red Hat Enterprise Linux 7 | ghostscript-cups | Fixed | 0:9.07-31.el7_6.10 | RHSA-2019:0633 |
| Red Hat Enterprise Linux 7 | ghostscript-devel | Fixed | 0:9.07-31.el7_6.10 | RHSA-2019:0633 |
| Red Hat Enterprise Linux 7 | ghostscript-doc | Fixed | 0:9.07-31.el7_6.10 | RHSA-2019:0633 |
| Red Hat Enterprise Linux 7 | ghostscript-gtk | Fixed | 0:9.07-31.el7_6.10 | RHSA-2019:0633 |
| Red Hat Enterprise Linux 6 | ghostscript | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ghostscript-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ghostscript-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | ghostscript-gtk | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | ghostscript | Will not fix Will not fix | ||
| Alpine Linux 3.24 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.23 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.22 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.21 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.20 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.19 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.18 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.17 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.16 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.15 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.14 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.13 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.12 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.11 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.10 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.9 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.8 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.7 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
| Alpine Linux 3.6 | ghostscript | Fixed | 9.26-r2 | ALPINE-CVE-2019-3835 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The ghostscript Project ghostscript: affected: 9.27
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:0652 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2019/dsa-4432 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:0971 (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3835
- https://bugs.ghostscript.com/show_bug.cgi?id=700585
- https://access.redhat.com/errata/RHSA-2019:0652
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVERLGEU3OV6RNZ2SIBXREWD3BF5H23N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ANBSCZABXQUEQWIKNWJ35IYX24M227EI/
- https://seclists.org/bugtraq/2019/Apr/4
- http://packetstormsecurity.com/files/152367/Slackware-Security-Advisory-ghostscript-Updates.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A43SRQAEHQCKSEMIBINHUNIGHTDCZD7F/
- https://www.debian.org/security/2019/dsa-4432
- https://seclists.org/bugtraq/2019/Apr/28
- http://www.securityfocus.com/bid/107855
- https://lists.debian.org/debian-lts-announce/2019/04/msg00021.html
- https://access.redhat.com/errata/RHSA-2019:0971
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00090.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00088.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.