Vikunja has an Algorithmic Complexity DoS in Repeating Task Handler
go-vikunja vikunja
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| code.vikunja.io/api Go |
|
|
Original description
Vikunja is an open-source self-hosted task management platform. Prior to 2.3.0, the addRepeatIntervalToTime function uses an O(n) loop that advances a date by the task's RepeatAfter duration until it exceeds the current time. By creating a repeating task with a 1-second interval and a due date far in the past, an attacker triggers billions of loop iterations, consuming CPU and holding a database connection for minutes per request. This vulnerability is fixed in 2.3.0.
From the CVE record · GitHub_M