← All advisories
High First reported · 1 source · 1 article

Ghostscript sandbox escape enables RCE via crafted file uploads in apps

A now-patched Ghostscript flaw lets a crafted PDF, PostScript or image file escape the interpreter's sandbox and run commands on the server processing it. Many Linux servers and web apps invoke Ghostscript indirectly to convert uploads, so ordinary upload features can be an attack path. Researchers at pwn.ai demonstrated the attack against popular applications. Defenders should update Ghostscript to the patched version and restrict or sandbox file-conversion services.

Why High

Remote code execution via file upload on widely used software with a public demonstration, but a patch is available and no in-the-wild exploitation is reported.

Categories

  • Operating Systems
  • Web Technologies
  • Supply Chain & Dependencies

Affected products

  • Ghostscript
  • Linux servers using Ghostscript for file conversion

Timeline

  • Picked up by Early Warning