gumlet/php-image-resize is vulnerable to Denial of Service
68
CVE Score
Medium
Denial of Service
Before the fix, the ImageResize constructor decoded the supplied image with GD imagecreatefrom* calls without limiting decoded pixel count, so any unauthenticated client whose uploaded file an application passed to ImageResize could supply a small, highly compressed image that decodes into a huge canvas and exhaust PHP memory, terminating the worker. The fix adds a default max_source_pixels limit of 15,000,000 and throws ImageResizeException before decoding when a source image exceeds it.
Upgrade the gumlet/php-image-resize package to 3.0.1 or later.
You are affected if you are using a version that falls within the vulnerable range and pass an image file supplied by an unauthenticated client to ImageResize without checking its decoded pixel dimensions.
1.0.0 - 3.0.0
Fixed in 3.0.1gumlet/php-image-resize is vulnerable to Denial of Service in versions 1.0.0 - 3.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.