GHSA-G46G-QFG5-5PCM
Unbounded crop dimensions allow memory and disk exhaustion
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-G46G-QFG5-5PCM divulgada · CVSS 6.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The curation editor's save action takes the crop box's width and height from the client. Only minimum values are validated. The crop isn't clamped to the source image, which is padded instead, and this happens before any preset resize.
A user with access to the curation editor can request an arbitrarily large crop. That exhausts the PHP worker's memory, and large padded files can be written to the disk. The save action also has no authorization check of its own.
Exploiting this needs an account that can edit media, with curations enabled (the default).
*Score:* `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H` (6.5)
Affected versions
Confirmed at runtime on 5.5.0 and 3.7.11. 4.2.1 was checked against the 5.x code paths, which are the same, and the fixes were tested on every line.
All 5.x, 4.x and 3.x releases are affected.
Patches
Upgrade to 5.5.3, 4.2.3 or 3.7.13.
- Authorization: saving a curation now needs the `update` ability on the media.
- Locked media: the media being curated can't be changed from the browser.
- Crop box: it's kept within the image, and a box that misses the image is rejected.
- Output cap: output is limited by the new `curator.curation_max_dimension`. The default is 8192 on 5.x and 4.x and 4096 on 3.x.
- Validation: crop values have upper limits.
Workarounds
Restrict media editing to trusted users, or disable curations.
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistawcodes/filament-curator |
Corregida | 3.7.13, 4.2.3, 5.5.3 | — | — |
3.7.134.2.35.5.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/awcodes/filament-curator/security/advisories/GHSA-g46g-qfg5-5pcmLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
