OS Command Injection in Ghostscript - CVE-2023-36664

 

OS Command Injection in Ghostscript - CVE-2023-36664

Published: July 4, 2023 / Updated: June 7, 2024


Vulnerability identifier: #VU77939
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:P/U:Amber
CVE-ID: CVE-2023-36664
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Artifex Software, Inc.
Affected software:
Ghostscript

Detailed vulnerability description

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

The vulnerability exists due to improper input validation for pipe devices (with the %pipe% prefix or the | pipe character prefix). A remote attacker can trick the victim to open a specially crafted PDF file and execute arbitrary OS commands on the target system.

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


How to mitigate CVE-2023-36664

Install updates from vendor's website.

Sources