Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-33869 EUVD-2024-31574GHSA-v6hc-9c6c-f599

An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript doc…

Published Jul 3, 2024 · Updated Oct 31, 2024 · Assigned by mitre

Description

An issue was discovered in Artifex Ghostscript before 10.03.1. Path traversal and command execution can occur (via a crafted PostScript document) because of path reduction in base/gpmisc.c. For example, restrictions on use of %pipe% can be bypassed via the aa/../%pipe%command# output filename.

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
ReleasePackageFixed inAdvisory
RHEL 9 libgs +7 9.54.0-17.el9_4 RHSA-2024:6197
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libgs +7 9.54.0-12.el9_2.2 RHSA-2024:6466

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libgs +7 9.54.0-17.el9_4 ALSA-2024:6197

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 ghostscript 9.54.0-17.el9_4 RLSA-2024:6197
ReleasePackageFixed inAdvisory
SLES 15 SP6 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES 15 SP5 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES 15 SP4 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES 15 SP3 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES 15 SP2 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 ghostscript 9.52-23.80.1 SUSE-SU-2024:2276-1
SLES for SAP 15 SP4 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES for SAP 15 SP3 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES for SAP 15 SP2 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLES for SAP 12 SP5 ghostscript 9.52-23.80.1 SUSE-SU-2024:2276-1
SLE HPC 15 SP4 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLE HPC 15 SP3 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SLE HPC 15 SP2 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SUSE Manager Server 4.3 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SUSE Manager Proxy 4.3 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
SUSE Enterprise Storage 7.1 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 10.03.1-1.1 openSUSE-SU-2024:14090-1
openSUSE Leap 15.6 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-1
openSUSE Leap 15.5 ghostscript 9.52-150000.194.1 SUSE-SU-2024:2292-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.10 ALAS2023-2024-691
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.6 ALAS2-2024-2612

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libgs +7 9.54.0-17.el9_4 ELSA-2024-6197

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ghostscript 10.03.1-r0 —

Advisories 13

References