Ghostscript Sandbox Escape RCE via Crafted File Uploads in Popular Apps
Executive Summary
Security firm pwn.ai demonstrated that a now-patched vulnerability in Ghostscript allows crafted files to escape its sandbox and execute arbitrary commands on servers processing PDFs, PostScript, or images. The flaw, exploited through ordinary file uploads in popular Linux applications, could enable remote code execution on affected systems. The issue has been patched, but the demonstration highlights the risk of using Ghostscript for file conversion.
Original Description
A now-patched flaw in Ghostscript allows a crafted file to escape the program's security sandbox and run commands on the server that processes it. Ghostscript is the interpreter that many Linux servers use to convert uploaded PDFs, PostScript files, and images into other formats, often without the application calling it directly. Security firm pwn.ai showed this week that ordinary upload,