CVEfocus › CVE database › CVE-2024-33871

CVE-2024-33871

CVSS 8.8 HighEPSS 1.8% (higher than 79% of CVEs)Published 2024-07-03Updated 2024-08-02Assigner: mitre

An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for opvp (and oprp) devices can have an arbitrary name for a dynamic library; this library is then loaded.

CWE-94

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

47Fixed
1Fix pending
4Will not fix
7Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ghostscriptFixed10.02.1~dfsg1-0ubuntu7.1UBUNTU-CVE-2024-33871
Ubuntu 22.04ghostscriptFixed9.55.0~dfsg1-0ubuntu5.7UBUNTU-CVE-2024-33871
Ubuntu 20.04ghostscriptFixed9.50~dfsg-5ubuntu4.12UBUNTU-CVE-2024-33871
Ubuntu 16.04ghostscriptFix pendingUBUNTU-CVE-2024-33871
Debian 14ghostscriptFixed10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33871
Debian 13ghostscriptFixed10.03.1~dfsg~git20240518-1DEBIAN-CVE-2024-33871
Debian 12ghostscriptFixed10.0.0~dfsg-11+deb12u4DEBIAN-CVE-2024-33871
Red Hat Enterprise Linux 10ghostscriptNot affected
Red Hat Enterprise Linux 10ghostscript-docNot affected
Red Hat Enterprise Linux 10ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 10ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 10ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 10libgsNot affected
Red Hat Enterprise Linux 10libgs-develNot affected
Red Hat Enterprise Linux 9ghostscriptFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9ghostscript-docFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9ghostscript-tools-fontsFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9ghostscript-tools-printingFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9ghostscript-x11Fixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9libgsFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 9libgs-develFixed0:9.54.0-16.el9_4RHSA-2024:3999
Red Hat Enterprise Linux 8ghostscriptFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8ghostscript-docFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8ghostscript-tools-fontsFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8ghostscript-tools-printingFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8ghostscript-x11Fixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8libgsFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 8libgs-develFixed
Affected
0:9.27-13.el8_10RHSA-2024:4000
Red Hat Enterprise Linux 6ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Out of support scope
AlmaLinux 9ghostscriptFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9ghostscript-docFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9ghostscript-tools-dvipdfFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9ghostscript-tools-fontsFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9ghostscript-tools-printingFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9ghostscript-x11Fixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9libgsFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 9libgs-develFixed9.54.0-16.el9_4ALSA-2024:3999
AlmaLinux 8ghostscriptFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8ghostscript-docFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8ghostscript-tools-dvipdfFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8ghostscript-tools-fontsFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8ghostscript-tools-printingFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8ghostscript-x11Fixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8libgsFixed9.27-13.el8_10ALSA-2024:4000
AlmaLinux 8libgs-develFixed9.27-13.el8_10ALSA-2024:4000
Rocky Linux 9ghostscriptFixed0:9.54.0-16.el9_4RLSA-2024:3999
Rocky Linux 8ghostscriptFixed0:9.27-13.el8_10RLSA-2024:4000
Alpine Linux 3.24ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.23ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.22ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.21ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.20ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.19ghostscriptFixed10.03.1-r0ALPINE-CVE-2024-33871
Alpine Linux 3.18ghostscriptFixed10.04.0-r0ALPINE-CVE-2024-33871

References

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.