Input validation error in Ghostscript and GhostPDL - CVE-2024-46952

 

Input validation error in Ghostscript and GhostPDL - CVE-2024-46952

Published: November 1, 2024


Vulnerability identifier: #VU99619
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-46952
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
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for Power, little endian
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 ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
openEuler
Fedora
Rapid Infrastructure Automation
Migration Toolkit for Containers
ghostscript (Red Hat package)
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript-x11
ghostscript-tools-printing
ghostscript-tools-fonts
ghostscript-tools-dvipdf
ghostscript
ghostscript-doc
libgs-devel
libgs
ghostscript-help
ghostscript-devel
ghostscript-debugsource
ghostscript-debuginfo
ghostscript (Debian package)
libgs10 (Ubuntu package)
app-text/ghostscript-gpl

How to mitigate CVE-2024-46952

Install updates from vendor's website.

Ghostscript - update to 10.04.0
GhostPDL - update to 10.04.0
Rapid Infrastructure Automation - update to 1.1.5.3
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-x11 - update to 9.54.0-18.0.1
ghostscript-tools-printing - update to 9.54.0-18.0.1
ghostscript-tools-fonts - update to 9.54.0-18.0.1
ghostscript-tools-dvipdf - update to 9.54.0-18.0.1
ghostscript - update to 9.54.0-18.0.1
ghostscript-doc - update to 9.54.0-18.0.1
libgs-devel - update to 9.54.0-18.0.1
libgs - update to 9.54.0-18.0.1
ghostscript-help - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript-tools-dvipdf - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript-devel - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript-debugsource - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript-debuginfo - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript - addressed in versions 9.55.0-15, 9.55.0-16, 9.55.0-17, 9.56.1-12
ghostscript (Debian package) - update to 10.0.0~dfsg-11+deb12u6
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
app-text/ghostscript-gpl - update to 10.04.0

External References

Related Security Bulletins