{"id":"CVE-2022-23641","summary":"Denial of Service in Discourse","details":"Discourse is an open source discussion platform. In versions prior to 2.8.1 in the `stable` branch, 2.9.0.beta2 in the `beta` branch, and 2.9.0.beta2 in the `tests-passed` branch, users can trigger a Denial of Service attack by posting a streaming URL. Parsing Oneboxes in the background job trigger an infinite loop, which cause memory leaks. This issue is patched in version 2.8.1 of the `stable` branch, 2.9.0.beta2 of the `beta` branch, and 2.9.0.beta2 of the `tests-passed` branch. As a workaround, disable onebox in admin panel completely or specify allow list of domains that will be oneboxed.","aliases":["BIT-discourse-2022-23641","GHSA-22xw-f62v-cfxv"],"modified":"2026-10-28T02:30:29.702501227Z","published":"2022-02-15T20:15:11Z","database_specific":{"cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23641.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23641.json"},{"type":"ADVISORY","url":"https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23641"},{"type":"FIX","url":"https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e"},{"type":"FIX","url":"https://github.com/discourse/discourse/pull/15927"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/discourse/discourse","events":[{"introduced":"3a5b75435ecc240877608d54dfc1490734f2e640"},{"fixed":"a34075d205a8857e29574ffd82aaece0c467565e"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"stable \u003c= 2.8.0"},{"last_affected":"stable \u003c= 2.8.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"beta \u003c= 2.9.0.beta1"},{"last_affected":"beta \u003c= 2.9.0.beta1"}]},{"range":[{"introduced":"tests-passed \u003c= 2.9.0.beta1"},{"last_affected":"tests-passed \u003c= 2.9.0.beta1"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"fixed":"a34075d205a8857e29574ffd82aaece0c467565e"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["beta \u003c= 2.9.0.beta1","stable \u003c= 2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23641.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}