Servers and applications
GHSA-r84c-6xf8-6wmg
Quadratic duplicate-header check in CSV import lets an import-permissioned user occupy a PHP worker
- Severity
- Medium 4.3
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 8.8.1
- 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
Api\ImportController::store ran its duplicate-header check with two full linear scans of the header array for every header. For N headers the loop did roughly N × N string comparisons even when no duplicates existed. The reporter measured ~10 seconds of CPU occupation on a single ~111 KB CSV with 8,000 columns. A user holding the import permission could repeatedly submit such CSVs and tie up PHP-FPM workers for a disproportionate amount of time relative to the request size.
Pre-fix:
The in_array check is always true, because the current header is always present somewhere in the header array. The real work was the array_search + > combination used to avoid double-reporting of duplicate pairs. Both in_array and array_search scan the array values from the beginning on every call, and both ran once per header, so the overall shape was N × N work for N headers.
The reporter's bounded test measured, with unique column names:
Affected software
| Software | Affected versions |
|---|---|
Snipe-ITServers and applications · github:grokability/snipe-it |
|
About Snipe-IT
A free open source IT asset/license management system
- 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
Source code Website Docker image
Vulnerabilities in Snipe-IT
- In our list
- 213
- Published in the last 12 months
- 171
- Critical, last 12 months
- 4
- High, last 12 months
- 45
- Known exploited
- 0
- GHSA-85wf-rxg6-6553Requestable API endpoints expose administrative item fields without view permissionsMedium 4.3 3 Dec 2026
- GHSA-2wmv-fvqq-6pprSCIM route group omits the deactivated-account guard, letting a deactivated superadmin PAT retain full access to /scim/v2 and reactivate itselfMedium 6.5 3 Dec 2026
- GHSA-m5cw-xqr3-8f8xCustom CSS sanitizer bypass via image-set() / image() load primitives (incomplete fix of GHSA-v279-2q6w-g8j4)High 8.7 3 Dec 2026
- GHSA-cf4m-f928-928gSSRF and credential disclosure via server-controlled pagination URLs in sync adaptersMedium 6.1 3 Dec 2026
- GHSA-464q-gjj5-q45rCross-module inventory disclosure via unauthorized AlertMenu Livewire renderMedium 4.3 3 Dec 2026
- GHSA-rcf6-v2m4-rq7cCross-tenant AccessoryCheckout pivot disclosure via /api/v1/locations/{id}/assigned/accessories under FMCSMedium 5.0 3 Dec 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-r84c-6xf8-6wmg
- github.com https://github.com/grokability/snipe-it/security/advisories/GHSA-r84c-6xf8-6wmg