Skip to content

Kaveyl Wiki 0.2.9 Beta – Security update

Choose a tag to compare

@rodnheli rodnheli released this 29 Oct 23:24
· 5 commits to main since this release

Security update – please update. GitHub code scanning (CodeQL), switched on with the publication, found ways to
keep the server busy for a long time with specially crafted input. All of them are fixed in this release.

Upgrade notes

  • From 0.2.3 to 0.2.8: replace the image and restart. No database change.
  • From 0.2.2 or older: the database is updated on start (v24, see 0.2.3) – take a database backup first.

Security

  • Crafted input could stall the server: a custom icon, the text of a note (also when it arrives by git push into
    a mounted source) or a display name (also through an invitation link) could make Kaveyl Wiki spend seconds to hours
    on a single check, during which it answered nobody. These checks now take one pass over the input.

Changed

  • Display names are limited to 100 characters.
  • Note titles from a heading follow CommonMark more closely: # C# gives the title “C#” (before: “C”), and an
    empty heading no longer counts as title.