CVE-2022-21684

Summary

CVECVE-2022-21684
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-13 21:15:00 UTC
Updated2023-07-24 13:54:00 UTC
DescriptionDiscourse is an open source discussion platform. Versions prior to 2.7.13 in `stable`, 2.8.0.beta11 in `beta`, and 2.8.0.beta11 in `tests-passed` allow some users to log in to a community before they should be able to do so. A user invited via email to a forum with `must_approve_users` enabled is going to be automatically logged in, bypassing the check that does not allow unapproved users to sign in. They will be able to do everything an approved user can do. If they logout, they cannot log back in. This issue is patched in the `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11. One may disable invites as a workaround. Administrators can increase `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.

Risk And Classification

Problem Types: CWE-287

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Discourse Discourse All All All All
Application Discourse Discourse 2.8.0 beta1 All All
Application Discourse Discourse 2.8.0 beta10 All All
Application Discourse Discourse 2.8.0 beta2 All All
Application Discourse Discourse 2.8.0 beta3 All All
Application Discourse Discourse 2.8.0 beta4 All All
Application Discourse Discourse 2.8.0 beta5 All All
Application Discourse Discourse 2.8.0 beta6 All All
Application Discourse Discourse 2.8.0 beta7 All All
Application Discourse Discourse 2.8.0 beta8 All All
Application Discourse Discourse 2.8.0 beta9 All All

References

ReferenceSourceLinkTags
Bypass user approval when invited · Advisory · discourse/discourse · GitHub CONFIRM github.com
SECURITY: Do not sign in unapproved users (#15552) · discourse/discourse@584c6a2 · GitHub MISC github.com
Invite redemption allowed user to access forum BEFORE approval - bug - Discourse Meta MISC meta.discourse.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report