Input validation error in Ghostscript and GhostPDL - CVE-2024-46954
Published: November 1, 2024
Vulnerability identifier: #VU99620
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-46954
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to an unspecified error when handling untrusted input. A remote attacker can pass a specially crafted file to the application and execute arbitrary code on the system.
Affected software
Ghostscript
GhostPDL
Gentoo Linux
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
Fedora
Migration Toolkit for Containers
ghostscript (Red Hat package)
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript-doc
libgs-devel
libgs
ghostscript-x11
ghostscript-tools-printing
ghostscript-tools-fonts
ghostscript-tools-dvipdf
ghostscript
libgs10 (Ubuntu package)
ghostscript-gtk
app-text/ghostscript-gpl
GhostPDL
Gentoo Linux
Red Hat Enterprise Linux for ARM 64
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
Fedora
Migration Toolkit for Containers
ghostscript (Red Hat package)
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript-doc
libgs-devel
libgs
ghostscript-x11
ghostscript-tools-printing
ghostscript-tools-fonts
ghostscript-tools-dvipdf
ghostscript
libgs10 (Ubuntu package)
ghostscript-gtk
app-text/ghostscript-gpl
How to mitigate CVE-2024-46954
Install updates from vendor's website.
Ghostscript - update to 10.04.0
GhostPDL - update to 10.04.0
Migration Toolkit for Containers - update to 1.8.7
ghostscript (Red Hat package) - addressed in versions 9.27-16.el8_10, 9.54.0-18.el9_6
ghostscript (Ubuntu package) - addressed in versions 9.50~dfsg-5ubuntu4.14, 9.55.0~dfsg1-0ubuntu5.10, 10.02.1~dfsg1-0ubuntu7.4, 10.03.1~dfsg1-0ubuntu2.1
libgs9 (Ubuntu package) - addressed in versions 9.50~dfsg-5ubuntu4.14, 9.55.0~dfsg1-0ubuntu5.10
ghostscript-doc - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs-devel - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-x11 - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-printing - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-fonts - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-dvipdf - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs10 (Ubuntu package) - addressed in versions 10.02.1~dfsg1-0ubuntu7.4, 10.03.1~dfsg1-0ubuntu2.1
ghostscript - addressed in versions 10.02.1-13.fc40, 10.03.1-4.fc41
ghostscript-gtk - update to 10.03.0-8
app-text/ghostscript-gpl - update to 10.04.0
GhostPDL - update to 10.04.0
Migration Toolkit for Containers - update to 1.8.7
ghostscript (Red Hat package) - addressed in versions 9.27-16.el8_10, 9.54.0-18.el9_6
ghostscript (Ubuntu package) - addressed in versions 9.50~dfsg-5ubuntu4.14, 9.55.0~dfsg1-0ubuntu5.10, 10.02.1~dfsg1-0ubuntu7.4, 10.03.1~dfsg1-0ubuntu2.1
libgs9 (Ubuntu package) - addressed in versions 9.50~dfsg-5ubuntu4.14, 9.55.0~dfsg1-0ubuntu5.10
ghostscript-doc - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs-devel - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-x11 - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-printing - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-fonts - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript-tools-dvipdf - addressed in versions 9.54.0-18.0.1, 10.03.0-8
ghostscript - addressed in versions 9.54.0-18.0.1, 10.03.0-8
libgs10 (Ubuntu package) - addressed in versions 10.02.1~dfsg1-0ubuntu7.4, 10.03.1~dfsg1-0ubuntu2.1
ghostscript - addressed in versions 10.02.1-13.fc40, 10.03.1-4.fc41
ghostscript-gtk - update to 10.03.0-8
app-text/ghostscript-gpl - update to 10.04.0
External References
Related Security Bulletins
- Multiple vulnerabilities in Artifex Ghostscript
- Ubuntu update for ghostscript
- Fedora 41 update for ghostscript
- Fedora 40 update for ghostscript
- Gentoo update for GPL Ghostscript
- Red Hat Enterprise Linux 8 update for ghostscript
- Red Hat Enterprise Linux 9 update for ghostscript
- Anolis OS update for ghostscript
- Anolis OS update for ghostscript
- Multiple vulnerabilities in Migration Toolkit for Containers 1.8