{"id":"CVE-2023-37904","published":"2023-07-28T15:09:08Z","modified":"2024-10-10T16:05:21Z","title":"Discourse Race Condition in Accept Invite","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open source discussion platform. Prior to version 3.0.6 of the `stable` branch and version 3.1.0.beta7 of the `beta` and `tests-passed` branches, more users than permitted could be created from invite links. The issue is patched in version 3.0.6 of the `stable` branch and version 3.1.0.beta7 of the `beta` and `tests-passed` branches. As a workaround, use restrict to email address invites.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00321,"percentile":0.17579,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-6wj5-4ph2-c7qg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/62a609ea2d0645a27ee8adbb01ce10a5e03a600b","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":3.52},{"name":"CVSS severity","points":1.82}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":[">= 3.1.0.beta1, < 3.1.0.beta7","< 3.0.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-10T15:33:20.983055Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-41770","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-discourse-cve-2022-21684","parents":[{"from":"CVE-2022-21684","to":"CVE-2023-37904","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/controllers/invites_controller.rb"],"commits":["https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2","https://github.com/discourse/discourse/commit/62a609ea2d0645a27ee8adbb01ce10a5e03a600b"],"basis":"shared function","functions":["perform_accept_invitation"]}]},{"from":"CVE-2022-31025","to":"CVE-2023-37904","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/models/invite_redeemer.rb"],"commits":["https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cf","https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9","https://github.com/discourse/discourse/commit/62a609ea2d0645a27ee8adbb01ce10a5e03a600b"],"basis":"rarely changed file"}]},{"from":"CVE-2022-39385","to":"CVE-2023-37904","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/models/invite_redeemer.rb"],"commits":["https://github.com/discourse/discourse/commit/a414520742da8dc9dc976d4fb7b72dbd445813bb","https://github.com/discourse/discourse/commit/62a609ea2d0645a27ee8adbb01ce10a5e03a600b"],"basis":"shared function","functions":["mark_invite_redeemed"]}]}]}}