GHSA-C934-XJQ2-MRG3
CalDAV VTODO RELATED-TO entries fan out into unbounded dummy tasks
CVSS:3.1/AV:N/AC:L/PR:L/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-C934-XJQ2-MRG3 divulgada · CVSS 4.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Any authenticated CalDAV client can send one VTODO with thousands of `RELATED-TO` properties. For each entry the server creates a dummy task, a task relation and about two events, with no quota beyond the request body limit.
Details
- The VTODO parser collects every `RELATED-TO` property with no count cap (`pkg/caldav/parsing.go:314`).
- `persistRelations` (`pkg/routes/caldav/listStorageProvider.go:1014-1060`) creates a dummy task for each related UID that does not resolve to an accessible task, then a relation to it.
- The map of accessible UIDs is built once before the loop (`:997-1011`), so repeating the same unknown UID creates a new dummy task each time.
Impact
A single PUT turns a body-limited request into thousands of task rows, relation rows and events (notifications, webhooks, search indexing), bloating the database and loading the event pipeline. Repeated requests scale this up. Requires a valid CalDAV login; the dummy tasks land in the attacker's own project.
Fix
Cap the number of relations processed per VTODO and dedupe related UIDs before creating anything.
_Found via internal security review (03 #26)._
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-c934-xjq2-mrg3Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
