Vulnerability in Discourse

CVE-2022-23641

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.

EPSS: 0.012 (63.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Discourse — versions stable <= 2.8.0, beta <= 2.9.0.beta1, tests-passed <= 2.9.0.beta1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-23641?
CVE-2022-23641 is a medium-severity vulnerability in Discourse, classified under Loop with Unreachable Exit Condition (Infinite Loop). CVSS score: 6.5/10. Published 2022-02-15.
How severe is CVE-2022-23641?
Medium severity. CVSS v3 base score is 6.5 out of 10.