{"id":"CVE-2023-28107","summary":"Discourse vulnerable to multisite DoS by spamming backups","details":"Discourse is an open-source discussion platform. Prior to version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches, a user logged as an administrator can request backups multiple times, which will eat up all the connections to the DB. If this is done on a site using multisite, then it can affect the whole cluster. The vulnerability is patched in version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.","aliases":["BIT-discourse-2023-28107","GHSA-cp7c-fm4c-6xxx"],"modified":"2026-10-28T02:30:43.281246149Z","published":"2023-03-17T16:23:31.324Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28107.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28107.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28107"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61"},{"type":"FIX","url":"https://github.com/discourse/discourse/pull/20700"},{"type":"FIX","url":"https://github.com/discourse/discourse/pull/20701"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"e54f52a756c032d7f35c0907b03a7dc9f2ea65e5"},{"fixed":"0bd64788d2b4680c04fbef76314a24884d65fed9"},{"fixed":"78a3efa7104eed6dd3ed7a06a71e2705337d9e61"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"stable \u003c 3.0.2"},{"last_affected":"stable \u003c 3.0.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"beta \u003c 3.1.0.beta3"},{"last_affected":"beta \u003c 3.1.0.beta3"}]},{"range":[{"introduced":"tests-passed \u003c 3.1.0.beta3"},{"last_affected":"tests-passed \u003c 3.1.0.beta3"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"0bd64788d2b4680c04fbef76314a24884d65fed9"}]},{"range":[{"fixed":"78a3efa7104eed6dd3ed7a06a71e2705337d9e61"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["3.1.0-beta1","3.1.0-beta2","beta \u003c 3.1.0.beta3","stable \u003c 3.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28107.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"}]}