{"id":"CVE-2022-21677","summary":"Group advanced search option may leak group and group's members visibility ","details":"Discourse is an open source discussion platform. Discourse groups can be configured with varying visibility levels for the group as well as the group members. By default, a newly created group has its visibility set to public and the group's members visibility set to public as well. However, a group's visibility and the group's members visibility can be configured such that it is restricted to logged on users, members of the group or staff users. A vulnerability has been discovered in versions prior to 2.7.13 and 2.8.0.beta11 where the group advanced search option does not respect the group's visibility and members visibility level. As such, a group with restricted visibility or members visibility can be revealed through search with the right search option. This issue is patched in `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11 versions of Discourse. There are no workarounds aside from upgrading.","aliases":["BIT-discourse-2022-21677","GHSA-768r-ppv4-5r27"],"modified":"2026-08-12T03:51:13.716671803Z","published":"2022-01-14T16:45:17Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21677.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-200"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21677.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-768r-ppv4-5r27"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21677"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"0"},{"last_affected":"81b398030ef4389a4a8192a287bc1b26203d58e0"},{"introduced":"05c1d3c9cdd7f3e365bedc397dd92a7e7bc2c40f"},{"fixed":"fff8b98485561b12d070c0a8c39f4e503813ab44"}],"database_specific":{"cpe":["cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta10:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta7:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta8:*:*:*:*:*:*","cpe:2.3:a:discourse:discourse:2.8.0:beta9:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"last_affected":"2.7.12"},{"introduced":"2.8.0-beta1"},{"last_affected":"2.8.0-beta1"},{"introduced":"2.8.0-beta10"},{"last_affected":"2.8.0-beta10"},{"introduced":"2.8.0-beta2"},{"last_affected":"2.8.0-beta2"},{"introduced":"2.8.0-beta3"},{"last_affected":"2.8.0-beta3"},{"introduced":"2.8.0-beta4"},{"last_affected":"2.8.0-beta4"},{"introduced":"2.8.0-beta5"},{"last_affected":"2.8.0-beta5"},{"introduced":"2.8.0-beta6"},{"last_affected":"2.8.0-beta6"},{"introduced":"2.8.0-beta7"},{"last_affected":"2.8.0-beta7"},{"introduced":"2.8.0-beta8"},{"last_affected":"2.8.0-beta8"},{"introduced":"2.8.0-beta9"},{"last_affected":"2.8.0-beta9"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["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","v2.7.12","v2.8.0.beta10","v2.7.11","v2.8.0.beta9","v2.7.10","v2.8.0.beta8","v2.7.9","v2.8.0.beta7","v2.7.8","v2.8.0.beta6","v2.8.0.beta5","v2.7.7","v2.7.6","v2.8.0.beta4","v2.8.0.beta3","v2.7.5","v2.7.4","v2.7.3","v2.8.0.beta2","v2.7.2","v2.7.1","v2.7.0","v2.8.0.beta1","v2.6.7","v2.6.6","v2.6.5","v2.6.4","v2.6.3","v2.6.2","v2.6.1","v2.6.0","v2.5.5","v2.5.4","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.5","v2.4.4","v2.4.3","v2.4.2","v2.4.1","v2.4.0","v2.3.10","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.9.7","v1.9.6","v1.9.5","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.11","v1.8.10","v1.8.9","v1.8.8","v1.8.7","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.10","v1.7.9","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.10","v1.6.9","v1.6.8","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.9.9.18","v0.9.9.17","v0.9.9.16","v0.9.9.15","v0.9.9.14","v0.9.9.13","v0.9.9.12","v0.9.9.11","v0.9.9.10","v0.9.9.9","v0.9.9.8","v0.9.9.7","v0.9.9.6","v0.9.9.5","v0.9.9.4","v0.9.9.3","v0.9.9.2","v0.9.9.1","v0.9.8.11","v0.9.8.10","v0.9.8.9","v0.9.8.8","v0.9.8.7","v0.9.8.6","v0.9.8.5","v0.9.8.4","v0.9.8.3","v0.9.8.2","v0.9.8.1","v0.9.8","v0.9.7.9","v0.9.7.8","v0.9.7.7","v0.9.7.6","v0.9.7.5","v0.9.7.4","v0.9.7.3","v0.9.7.2","v0.9.7.1","v0.9.7","v0.9.6.4","v0.9.6.3","v0.9.6.1","v0.9.6","v0.9.5.2","v0.9.5.1","v0.9.5","v0.9.4","v0.9.3","v0.9.2.6","v0.9.2.5","v0.9.2","v0.9.1","v0.9.0","v0.8.9","v0.8.8","v0.8.7","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21677.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"}]}