Headline
CVE-2023-22740: Chat drafts should have a maximum character limit and the number of loaded drafts should be limited
Discourse is an open source platform for community discussion. Versions prior to 3.1.0.beta1 (beta) (tests-passed) are vulnerable to Allocation of Resources Without Limits. Users can create chat drafts of an unlimited length, which can cause a denial of service by generating an excessive load on the server. Additionally, an unlimited number of drafts were loaded when loading the user. This issue has been patched in version 2.1.0.beta1 (beta) and (tests-passed). Users should upgrade to the latest version where a limit has been introduced. There are no workarounds available.
Package
Discourse - chat (Discourse)
Affected versions
beta >= 3.1.0.beta1; tests-passed >= 3.1.0.beta1
Patched versions
beta >= 3.1.0.beta1; tests-passed >= 3.1.0.beta1
Description
Impact
Users can create chat drafts of an unlimited length, which can cause a denial of service by generating an excessive load on the server. Additionally an unlimited number of drafts were loaded when loading the user.
Patches
Users should upgrade to the latest version where a limit has been introduced.
Workarounds
No workarounds available.