{"id":"CVE-2025-24808","published":"2025-03-26T14:08:38Z","modified":"2025-03-26T18:26:18Z","title":"Discourse has race condition when adding users to a group DM","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open-source discussion platform. Prior to versions `3.3.4` on the `stable` branch and `3.4.0.beta5` on the `beta` branch, someone who is about to reach the limit of users in a group DM may send requests to add new users in parallel. The requests might all go through ignoring the limit due to a race condition. The patch in versions `3.3.4` and `3.4.0.beta5` uses the `lock` step in service to wrap part of the `add_users_to_channel` service inside a distributed lock/mutex in order to avoid the race condition.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00218,"percentile":0.12499,"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-hfcx-qjw6-573r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/a16b2f224860f6678f89f5ffa012f0ede17e4095","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":2.5},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["< 3.3.4",">= 3.4.0.beta1, < 3.4.0.beta5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-26T18:26:11.826750Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-8203","exploited":false,"provenance":"source"}}