All vulnerabilities

Servers and applications

GHSA-qg6w-r9jm-gq2q

Any authenticated user can trigger memory and CPU amplification on the label preview endpoint via an unbounded `settings[label2_empty_row_count]` override

Severity
Medium 6.5
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)CWE-1284
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

GET /labels/{labelName} (named labels.show) is protected only by auth middleware and copies every request-supplied settings[key]=value pair onto the live Setting::getSettings() singleton with no allowlist and no validation. The label2 renderer then reads $settings->label2_empty_row_count, passes it unbounded to range(1, N), and maps the full result into a Collection of N three-element arrays before ->take($template->getSupportFields()) truncates the collection to the small physical capacity of the template. A low-privilege authenticated caller can therefore drive request-controlled memory and CPU work from a small HTTP request. The same override loop also mutates the Setting::$_cache static singleton for the lifetime of the PHP-FPM worker, so a preview request can poison settings reads for subsequent requests on the same worker.

app/Http/Controllers/LabelsController.php:84-90 ran:

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
  • From 6.2.0 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