Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2024-29510 EUVD-2024-26513GHSA-r824-gq56-gjgx

Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

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

Description

Artifex Ghostscript before 10.03.1 allows memory corruption, and SAFER sandbox bypass, via format string injection with a uniprint device.

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.8 ALAS2023-2024-664
Amazon Linux 2 libgs +5 9.54.0-9.amzn2.0.4 ALAS2-2024-2597

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 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 13

References