CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8) in artifex ghostscript. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2024-33871 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-33871?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-33871?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-33871 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| artifex:ghostscript | before 10.03.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ghostscript | 9.53.3~dfsg-7+deb11u7 | DSA-5692-1 |
| Debian | 12 | ghostscript | 10.0.0~dfsg-11+deb12u4 | DEBIAN-CVE-2024-33871 DSA-5692-1 |
| Debian | 13, 14 | ghostscript | 10.03.1~dfsg~git20240518-1 | DEBIAN-CVE-2024-33871 |
| Ubuntu | 20.04:LTS | ghostscript | 9.50~dfsg-5ubuntu4.12 | UBUNTU-CVE-2024-33871 USN-6835-1 |
| Ubuntu | 22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.7 | UBUNTU-CVE-2024-33871 USN-6835-1 |
| Ubuntu | 24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.1 | UBUNTU-CVE-2024-33871 USN-6835-1 |
| Ubuntu | Pro:16.04:LTS | ghostscript | no fix listed | UBUNTU-CVE-2024-33871 |
| Red Hat | enterprise_linux:8::appstream | libgs, ghostscript, ghostscript-x11 and 5 more | 0:9.27-13.el8_10 | RHSA-2024:4000 |
| Red Hat | enterprise_linux:8::crb | libgs-devel, ghostscript-doc, libgs-debuginfo and 7 more | 0:9.27-13.el8_10 | RHSA-2024:4000 |
| Red Hat | enterprise_linux:9::appstream | libgs, ghostscript, ghostscript-doc and 9 more | 0:9.54.0-16.el9_4 | RHSA-2024:3999 |
| Red Hat | enterprise_linux:9::crb | ghostscript, libgs-devel, libgs-debuginfo and 6 more | 0:9.54.0-16.el9_4 | RHSA-2024:3999 |
| Red Hat | rhel_aus:8.2::appstream | libgs, ghostscript, libgs-debuginfo and 4 more | 0:9.25-6.el8_2.1 | RHSA-2024:4537 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | libgs, ghostscript, ghostscript-x11 and 5 more | 0:9.27-2.el8_4.1 | RHSA-2024:4544 |
| Red Hat | rhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstream | libgs, ghostscript, ghostscript-x11 and 5 more | 0:9.27-2.el8_6.1 | RHSA-2024:4462 |
| Red Hat | rhel_e4s:9.0::appstream | libgs, ghostscript, ghostscript-doc and 9 more | 0:9.54.0-7.el9_0.3 | RHSA-2024:4014 |
| Red Hat | rhel_els:7 | libgs, ghostscript, libgs-devel and 4 more | 0:9.25-5.el7_9.1 | RHSA-2024:4549 |
| Red Hat | rhel_eus:8.8::appstream | libgs, ghostscript, ghostscript-x11 and 5 more | 0:9.27-6.el8_8.1 | RHSA-2024:4527 |
| Red Hat | rhel_eus:8.8::crb | libgs-devel, ghostscript-doc, libgs-debuginfo and 7 more | 0:9.27-6.el8_8.1 | RHSA-2024:4527 |
| Red Hat | rhel_eus:9.2::appstream | libgs, ghostscript, ghostscript-doc and 9 more | 0:9.54.0-12.el9_2.1 | RHSA-2024:4541 |
| 1 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 12 more | ghostscript | 9.52-150000.191.1 | SUSE-SU-2024:2198-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | ghostscript | 9.52-23.77.1 | SUSE-SU-2024:2199-1 |
| openSUSE | Leap 15.5, Leap 15.6 | ghostscript | 9.52-150000.191.1 | SUSE-SU-2024:2198-1 |
| openSUSE | Tumbleweed | ghostscript | 10.03.1-1.1 | openSUSE-SU-2024:14090-1 |
| AlmaLinux | 8 | libgs, ghostscript, libgs-devel and 5 more | 9.27-13.el8_10 | ALSA-2024:4000 |
| AlmaLinux | 9 | libgs, ghostscript, libgs-devel and 5 more | 9.54.0-16.el9_4 | ALSA-2024:3999 |
| Rocky Linux | 8 | ghostscript | 0:9.27-13.el8_10 | RLSA-2024:4000 |
| Rocky Linux | 9 | ghostscript | 0:9.54.0-16.el9_4 | RLSA-2024:3999 |
| Alpine | v3.18 | ghostscript | 10.04.0-r0 | ALPINE-CVE-2024-33871 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | ghostscript | 10.03.1-r0 | ALPINE-CVE-2024-33871 |
| Alpaquita | 23 | ghostscript | 10.01.2-r2 | BELL-CVE-2024-33871 |
| Alpaquita | stream | ghostscript | 10.03.1-r0 | BELL-CVE-2024-33871 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
Passing the -dSAFER safety argument on the command line prevents the issue by locking security-related variables after Ghostscript’s initialization. In RHEL 9, -dSAFER is enabled by default, ensuring that insecure commands are rejected in a safer environment. This mitigation is equally effective in RHEL 7 and 8 when -dSAFER is explicitly passed on the command line, addressing the vulnerability that allows insecure commands within PostScript files. Since the OPVP device, cannot be removed, we recommend to use -dSAFER in RHEL 7 and 8 as a practical security measure.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | ghostscript-0:9.25-5.el7_9.1 | Fixed 2024-07-15 | RHSA-2024:4549 |
| Red Hat Enterprise Linux 8 | ghostscript-0:9.27-13.el8_10 | Fixed 2024-06-20 | RHSA-2024:4000 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | ghostscript-0:9.25-6.el8_2.1 | Fixed 2024-07-15 | RHSA-2024:4537 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | ghostscript-0:9.27-2.el8_4.1 | Fixed 2024-07-15 | RHSA-2024:4544 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | ghostscript-0:9.27-2.el8_4.1 | Fixed 2024-07-15 | RHSA-2024:4544 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | ghostscript-0:9.27-2.el8_4.1 | Fixed 2024-07-15 | RHSA-2024:4544 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | ghostscript-0:9.27-2.el8_6.1 | Fixed 2024-07-10 | RHSA-2024:4462 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | ghostscript-0:9.27-2.el8_6.1 | Fixed 2024-07-10 | RHSA-2024:4462 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | ghostscript-0:9.27-2.el8_6.1 | Fixed 2024-07-10 | RHSA-2024:4462 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | ghostscript-0:9.27-6.el8_8.1 | Fixed 2024-07-15 | RHSA-2024:4527 |
| Red Hat Enterprise Linux 9 | ghostscript-0:9.54.0-16.el9_4 | Fixed 2024-06-20 | RHSA-2024:3999 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | ghostscript-0:9.54.0-7.el9_0.3 | Fixed 2024-06-20 | RHSA-2024:4014 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | ghostscript-0:9.54.0-12.el9_2.1 | Fixed 2024-07-15 | RHSA-2024:4541 |
| Red Hat Enterprise Linux 10 | ghostscript | Not affected | |
| Red Hat Enterprise Linux 6 | ghostscript | Out of support scope | |
| Red Hat Enterprise Linux 8 | gimp:flatpak/ghostscript | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-33871.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.