Skip to content
OpenAdvisories
High · 8.8 CVE-2024-33871 EUVD-2024-31576GHSA-mq7h-fm69-h6xq

An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver …

Published Jul 3, 2024 · Updated Aug 2, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 10.03.1~dfsg~git20240518-1 —
Debian 13 ghostscript 10.03.1~dfsg~git20240518-1 —
Debian 12 ghostscript 10.0.0~dfsg-11+deb12u4 DSA-5692-1
Debian 11 ghostscript 9.53.3~dfsg-7+deb11u7 DSA-5692-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS ghostscript 10.02.1~dfsg1-0ubuntu7.1 USN-6835-1
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.7 USN-6835-1
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.12 USN-6835-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ghostscript No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libgs +7 9.54.0-16.el9_4 RHSA-2024:3999
RHEL 8 libgs +7 9.27-13.el8_10 RHSA-2024:4000
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libgs +7 9.54.0-12.el9_2.1 RHSA-2024:4541
RHEL 9.0 E4S libgs +6 9.54.0-7.el9_0.3 RHSA-2024:4014
RHEL 8.8 EUS libgs +7 9.27-6.el8_8.1 RHSA-2024:4527
RHEL 8.6 TUS libgs +2 9.27-2.el8_6.1 RHSA-2024:4462
RHEL 8.6 E4S libgs +2 9.27-2.el8_6.1 RHSA-2024:4462
RHEL 8.6 AUS libgs +2 9.27-2.el8_6.1 RHSA-2024:4462
RHEL 8.4 TUS libgs +2 9.27-2.el8_4.1 RHSA-2024:4544
RHEL 8.4 E4S libgs +2 9.27-2.el8_4.1 RHSA-2024:4544
RHEL 8.4 AUS libgs +2 9.27-2.el8_4.1 RHSA-2024:4544
RHEL 8.2 AUS libgs +1 9.25-6.el8_2.1 RHSA-2024:4537
RHEL 7 ELS libgs +5 9.25-5.el7_9.1 RHSA-2024:4549

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libgs +7 9.54.0-16.el9_4 ALSA-2024:3999
AlmaLinux 8 libgs +7 9.27-13.el8_10 ALSA-2024:4000

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 ghostscript 9.54.0-16.el9_4 RLSA-2024:3999
Rocky Linux 8 ghostscript 9.27-13.el8_10 RLSA-2024:4000
ReleasePackageFixed inAdvisory
SLES 15 SP6 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES 15 SP5 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES 15 SP4 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES 15 SP3 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES 15 SP2 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 ghostscript 9.52-23.77.1 SUSE-SU-2024:2199-1
SLES for SAP 15 SP4 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES for SAP 15 SP3 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES for SAP 15 SP2 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLES for SAP 12 SP5 ghostscript 9.52-23.77.1 SUSE-SU-2024:2199-1
SLE HPC 15 SP4 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLE HPC 15 SP3 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SLE HPC 15 SP2 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SUSE Manager Server 4.3 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SUSE Manager Proxy 4.3 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
SUSE Enterprise Storage 7.1 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 10.03.1-1.1 openSUSE-SU-2024:14090-1
openSUSE Leap 15.6 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
openSUSE Leap 15.5 ghostscript 9.52-150000.191.1 SUSE-SU-2024:2198-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ghostscript 10.03.1-r0 —
Alpine v3.23 ghostscript 10.03.1-r0 —
Alpine v3.22 ghostscript 10.03.1-r0 —
Alpine v3.21 ghostscript 10.03.1-r0 —
Alpine v3.20 ghostscript 10.03.1-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 ghostscript 10.03.1-r0 —
Alpine v3.18 ghostscript 10.04.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.7 ALAS2023-2024-637
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.3 ALAS2-2024-2562

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libgs +7 9.54.0-16.el9_4 ELSA-2024-3999
Oracle Linux 8 libgs +7 9.27-13.el8_10 ELSA-2024-4000
Oracle Linux 7 libgs +5 9.25-5.0.1.el7 ELSA-2024-4549

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ghostscript 10.03.1-r0 —

Advisories 25

References