CVE-2022-21684 Details
Description
Discourse 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2 | CVE | PatchThird Party Advisory |
| https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh | CVE | PatchThird Party Advisory |
| https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328 | CVE | Issue TrackingPatchVendor Advisory |
| https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2 | [email protected] | PatchThird Party Advisory |
| https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh | [email protected] | PatchThird Party Advisory |
| https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328 | [email protected] | Issue TrackingPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| discourse discourse | < 2.7.13 2.8.0 beta1 2.8.0 beta10 2.8.0 beta2 2.8.0 beta3 2.8.0 beta4 2.8.0 beta5 2.8.0 beta6 2.8.0 beta7 2.8.0 beta8 2.8.0 beta9 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 24, 2023 | Reanalysis | [email protected] |
| Jan 24, 2022 | Initial Analysis | [email protected] |