Skip to content

v0.8.5

Latest

Choose a tag to compare

@ajvb ajvb released this 20 Nov 21:27
· 2 commits to main since this release
4a65d34

Security fix: a malformed schedule could crash the server

A single job whose schedule did not start with R (for example X/2030-01-01T00:00:00Z/PT1H) crashed the whole Kala server. Kala now rejects such a schedule with HTTP 400 and leaves the job list unchanged. Anyone who can create jobs could trigger the crash, so please upgrade.

Other changes:

  • Updated github.com/sirupsen/logrus to v1.8.3 (this also brings golang.org/x/sys up to a version without a known privilege-reporting issue).
  • Added tests that record how v1 handles schedules whose start time has passed, repeat counts, the one-off R0/<start>/ form, and enabling a persisted job after a restart.

Not changed: golang.org/x/text stays at v0.3.3, because the fixed versions need a newer Go than this branch's go 1.13. Build releases with Go 1.27.4 or later; earlier Go 1.27 releases have a known net/http vulnerability (GO-2026-6859).

Known v1 behavior (unchanged in this release): a start date after the year 2262 is handled wrongly, and a repeating job with a zero-length duration runs in a tight loop.

End of life

This is the last planned v1 release. When Kala v2 is released, v1 reaches end of life and stops receiving updates; the v1 README will then point to v2.