{"id":"CVE-2022-21677","published":"2022-01-14T16:45:17Z","modified":"2025-04-23T19:12:05Z","title":"Group advanced search option may leak group and group's members visibility","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01213,"percentile":0.69283,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-768r-ppv4-5r27","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44","tags":["x_refsource_MISC"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":13.86},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 2.7.13","< 2.8.0.beta11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:12:15.571887Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-26889","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2022-21677","children":[{"from":"CVE-2022-21677","to":"CVE-2025-64528","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/search.rb"],"commits":["https://github.com/discourse/discourse/commit/fff8b98485561b12d070c0a8c39f4e503813ab44","https://github.com/discourse/discourse/commit/1cb45b8b287597085e3514596ffb1d9b41938f81","https://github.com/discourse/discourse/commit/6192f55629624925595dae14364fd86cac0f09df"],"basis":"rarely changed file"}]}]}}