GHSA-HM4W-H7V8-CH43
Nil bucket filter makes project view reads panic
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-HM4W-H7V8-CH43 divulgada · CVSS 2.7 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A project admin can store a filter-mode bucket configuration whose `filter` is null (or a null configuration entry). Every read of that view then panics and returns HTTP 500 for all project members.
Details
- `validateProjectViewFilters` skips nil entries and nil filters (`pkg/models/project_view.go:327,330`), so the configuration is saved.
- Reads dereference it unconditionally: `view.BucketConfiguration[id].Filter.Filter` / `.Filter.Search` (`pkg/models/kanban.go:239,243`) and `bucket.Filter.Filter` (`pkg/models/task_collection.go:267`). A nil slice entry panics earlier at `bc.Title` (`pkg/models/kanban.go:174`).
- `middleware.Recover()` (`pkg/routes/routes.go:189`) catches the panic, so the process survives.
- Creating or updating a view requires project admin (`pkg/models/project_view_permissions.go:73,86`).
Impact
Availability of one view for its project's members. The admin who can trigger this can also edit or delete the view, so there is no privilege gain; it mainly matters as a crash path in the API and for shared projects with several admins.
Fix
Reject a nil configuration entry and a nil `Filter` in `validateProjectViewFilters` instead of guarding the three dereference sites. Ships with the bucket-count cap (same validator).
_Found via internal security review (03 #28)._
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gocode.vikunja.io/api |
Sin parche | — | — | v0.24.6 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-vikunja/vikunja/security/advisories/GHSA-hm4w-h7v8-ch43Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
