Artifex · Artifex Ghostscript · CVE-2024-33869
**Name of the Vulnerable Software and Affected Versions**
Artifex Ghostscript versions prior to 10.03.1
**Description**
The issue is related to path reduction in the base/gpmisc.c file of Ghostscript, allowing for path traversal and command execution via a crafted PostScript document. This can lead to restrictions on the use of %pipe% being bypassed, potentially enabling arbitrary code execution. The vulnerability is caused by incorrect input validation, which could allow a remote attacker to execute arbitrary code.
**Recommendations**
For versions prior to 10.03.1, update to version 10.03.1 or later to resolve the issue. As a temporary workaround, consider restricting the use of the %pipe% command in PostScript documents to minimize the risk of exploitation. Avoid using the `output filename` parameter with crafted filenames, such as aa/../%pipe%command#, until the issue is resolved.