This Metasploit module exploits a type confusion vulnerability in Ghostscript that can be exploited to obtain arbitrary command execution. This vulnerability affects Ghostscript versions 9.21 and earlier and can be exploited through libraries such as ImageMagick and Pillow.
a27fc20d6d651965282082a1c0885428cca7397e09bbfd29c3bb60a249fb12b3