Glide through 4.2.1 contains a resource limit bypass vulnerability that allows remote unauthenticated attackers to exceed maximagesize by supplying large border or watermark dimensions. Attackers can send unsigned requests with large border widths or markw and markh values to allocate oversized images, exhausting PHP memory and CPU.
Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated attackers to read images outside configured prefixes by supplying encoded dot-dot sequences. When image URLs are not signed, attackers can send ..%2F sequences in request paths or the mark parameter to read images elsewhere on the filesystem and write cache files outside cachepathprefix.