Vulnerability · Published Feb 15, 2022 · Assigned by GitHub_M
CVE-2022-23641Denial of Service in Discourse
Medium 6.5
In plain English
A medium-severity infinite loop in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv x_refsource_CONFIRM
- https://github.com/discourse/discourse/pull/15927 x_refsource_MISC
- https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e x_refsource_MISC