CVE-2024-36122: Discourse doesn't limit reviewable user serializer payload
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the stable branch and version 3.3.0.beta4 on the beta and tests-passed branches, moderators using the review queue to review users may see a users email address even when the Allow moderators to view email addresses setting is disabled. This issue is patched in version 3.2.3 on the stable branch and version 3.3.0.beta4 on the beta and tests-passed branches. As possible workarounds, either prevent moderators from accessing the review queue or disable the approve suspect users site setting and the must approve users site setting to prevent users from being added to the review queue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Discourse stable branchto a version that resolves this vulnerability.Fixed in 3.2.3 - Upgrade
Upgrade
Discourse beta and tests-passed branchesto a version that resolves this vulnerability.Fixed in 3.3.0.beta4 - Configuration
Disable the `approve suspect users` and `must approve users` site settings to prevent users from being added to the review queue.
Discourse approve suspect users; must approve users = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2024-36122?
CVE-2024-36122 is classified as a moderate severity vulnerability.
How do I fix CVE-2024-36122?
To fix CVE-2024-36122, upgrade to Discourse version 3.2.3 or later on the stable branch, or version 3.3.0.beta4 or later on the beta and tests-passed branches.
Who is affected by CVE-2024-36122?
Users of Discourse prior to version 3.2.3 on the stable branch and version 3.3.0.beta4 on the beta and tests-passed branches are affected by CVE-2024-36122.
What type of information is compromised in CVE-2024-36122?
CVE-2024-36122 allows moderators to unintentionally see users' email addresses, compromising user privacy.
What versions of Discourse are vulnerable to CVE-2024-36122?
Discourse versions before 3.2.3 on stable and before 3.3.0.beta4 on beta and tests-passed branches are vulnerable to CVE-2024-36122.