All vulnerabilities

Servers and applications

GHSA-2q8x-3vjh-f757

Image upload validation lacks dimension caps, allowing unbounded raster decode

Severity
Medium 4.3
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
8.8.1
Weakness
Uncontrolled resource consumption (CWE-400)Allocation without limits (CWE-770)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Sources
Project advisories (GitHub)

Description

App\Http\Requests\ImageUploadRequest::rules() applies only a mimes: rule to the image, avatar, and favicon keys. A low-privilege authenticated user can submit a small highly-compressible PNG with large declared dimensions and force Intervention\Image::make() to allocate a pixel buffer proportional to the attacker-chosen dimensions rather than the uploaded byte count. The buffer is allocated before ->resize() runs. Affects the profile avatar endpoint and approximately 40 other controllers that share this request class.

Before the fix, ImageUploadRequest::rules() returned:

No dimensions: constraint, no application-level max:. handleImages() then calls Intervention\Image::make($image->getRealPath()) for png/gif/jpg/jpeg/bmp inputs. This decodes the raster to a GD or Imagick pixel buffer before ->resize() downscales it. Decoded RGBA memory is width * height * 4 bytes.

From grokability/snipe-it's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Snipe-ITServers and applications · github:grokability/snipe-it
  • Every version before 8.8.1

About Snipe-IT

A free open source IT asset/license management system

From its GitHub repository.
Docker Hub pulls
30,202,208Docker Hub, 29 Nov 2026
GitHub stars
15,283GitHub, 29 Nov 2026
Forks
4,089GitHub, 29 Nov 2026
Latest release
v8.8.4GitHub, 29 Nov 2026
Released
20 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
12 Nov 2013GitHub

References