Integer overflow in GhostPDL and Ghostscript - CVE-2024-46953

 

Integer overflow in GhostPDL and Ghostscript - CVE-2024-46953

Published: November 1, 2024


Vulnerability identifier: #VU99616
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2024-46953
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
GhostPDL
Ghostscript
Gentoo Linux
Debian Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 12
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Enterprise Storage
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for IBM z Systems
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
SUSE Linux Enterprise Server 12 SP5 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Rapid Infrastructure Automation
libgs9 (Ubuntu package)
ghostscript (Red Hat package)
ghostscript (Ubuntu package)
ghostscript-debugsource
ghostscript-x11
ghostscript-x11-debuginfo
ghostscript
ghostscript-debuginfo
ghostscript-devel
libgs-devel
ghostscript-tools-dvipdf
ghostscript-tools-fonts
ghostscript-tools-printing
libgs
ghostscript-doc
ghostscript-help
ghostscript (Debian package)
libgs10 (Ubuntu package)
app-text/ghostscript-gpl
Migration Toolkit for Containers

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when parsing the page format results in path truncation. A remote attacker can pass specially crafted file to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2024-46953

Install updates from vendor's website.

Sources