Vulnerabilities · 2022 · Discourse
CVE-2022-23641
Discourse vulnerability
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
Discourse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e · Patch
- github.com/discourse/discourse/pull/15927 · Patch
- github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-23641
- cve.org/CVERecord?id=CVE-2022-23641
More vulnerabilities in Discourse products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.