llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · code.vikunja.io/api

GHSA-P697-WQ4X-GRPJ

Unbounded bucket count causes per-bucket query fan-out on kanban reads

Sin parche publicado
Descargar PNG JSON
CVSS 3.1
4.3
Media
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición28 dDesde la divulgación, 22 oct 2026, 5:03 a. m.
Detección27 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
22 oct 26
18 nov 26
19 nov 26
22 oct 26
29 oct 26
5 nov 26
12 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-P697-WQ4X-GRPJ divulgada · CVSS 4.3 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

A project writer (manual buckets) or a view admin (filter-mode buckets) can create an arbitrary number of kanban buckets. Every subsequent kanban read of that view then runs one task SELECT plus COUNT per bucket.

Details

  • `ProjectView.BucketConfiguration` has no length cap (`pkg/models/project_view.go:175`), and `validateProjectViewFilters` (`:317`) does not bound it.
  • `Bucket.Create` (`pkg/models/kanban.go:314`) has no per-view count cap and needs only project write access (`pkg/models/kanban_permissions.go:31`).
  • Reading the buckets-with-tasks endpoint loops over all buckets and queries each one (`pkg/models/kanban.go:232-260`).

The queries are parameterized; this is a resource issue, not SQL injection. It is distinct from GHSA-pmr6-968f-34v3, which concerned `per_page` being applied per bucket; here the multiplier is the stored bucket count itself.

Impact

Each kanban read of the affected view costs N query pairs, so a view with thousands of buckets makes every page load by any member expensive and lets a single user generate heavy DB load with cheap repeated reads. Any user can do this in their own project.

Fix

Cap at write time: limit `len(BucketConfiguration)` (around 50) in `validateProjectViewFilters`, and add a per-view manual-bucket cap in `Bucket.Create`. A read-time cap would leave the oversized state stored.

_Found via internal security review (03 #27)._

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
code.vikunja.io/api≤ 2.7.0
v0.24.6
2.7.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gocode.vikunja.io/api
Sin parche — — v0.24.6 afectada
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/go-vikunja/vikunja/security/advisories/GHSA-p697-wq4x-grpj

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.