Description
Glide through 4.2.1 contains a resource limit bypass vulnerability that allows remote unauthenticated attackers to exceed max_image_size 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thephpleague | Glide | ≤ 4.2.1 | — |
References
- https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Border.php#L173-L189 technical-description
- https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L88-L118 technical-description
- VulnCheck Advisory: Glide through 4.2.1 max_image_size Bypass via Border and Watermark Dimensions third-party-advisory