First published: Thu Jan 05 2023(Updated: )
Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 2.9.0.beta16 on the `beta` and `tests-passed` branches, users can create posts with raw body longer than the `max_length` site setting by including html comments that are not counted toward the character limit. This issue is patched in versions 2.8.14 and 2.9.0.beta16. There are no known workarounds.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Discourse Discourse | <2.8.14 | |
Discourse Discourse | =2.9.0-beta1 | |
Discourse Discourse | =2.9.0-beta10 | |
Discourse Discourse | =2.9.0-beta11 | |
Discourse Discourse | =2.9.0-beta12 | |
Discourse Discourse | =2.9.0-beta13 | |
Discourse Discourse | =2.9.0-beta14 | |
Discourse Discourse | =2.9.0-beta2 | |
Discourse Discourse | =2.9.0-beta3 | |
Discourse Discourse | =2.9.0-beta4 | |
Discourse Discourse | =2.9.0-beta5 | |
Discourse Discourse | =2.9.0-beta6 | |
Discourse Discourse | =2.9.0-beta7 | |
Discourse Discourse | =2.9.0-beta8 | |
Discourse Discourse | =3.0.0-beta15 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-23549 is a vulnerability in Discourse that allows users to create posts with a raw body longer than the max_length site setting.
CVE-2022-23549 has a severity score of 6.5, which is considered medium.
To fix CVE-2022-23549 in Discourse, you need to update to version 2.8.14 on the stable branch or version 2.9.0.beta16 on the beta and tests-passed branches.
You can find more information about CVE-2022-23549 on the GitHub commit and security advisory links provided: [GitHub Commit](https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8), [Security Advisory](https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp).
CVE-2022-23549 is classified as CWE-20, which is Improper Input Validation.