Denial of Service in Discourse
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-23641
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:57 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-23641
Complete source record
{
"id": "b492ea2ffd7ba4507ef1c13b9dc8b1e2c73fc0ed4e707ef939b57b172217466e",
"url": "https://osv.dev/vulnerability/CVE-2022-23641",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Denial of Service in Discourse",
"summary": "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.",
"evidence": "osv:CVE-2022-23641",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-23641",
"aliases": [
"BIT-discourse-2022-23641",
"CVE-2022-23641",
"GHSA-22xw-f62v-cfxv"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/discourse/discourse",
"type": "GIT",
"events": [
{
"introduced": "3a5b75435ecc240877608d54dfc1490734f2e640"
},
{
"fixed": "a34075d205a8857e29574ffd82aaece0c467565e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "stable <= 2.8.0"
},
{
"last_affected": "stable <= 2.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "beta <= 2.9.0.beta1"
},
{
"last_affected": "beta <= 2.9.0.beta1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "tests-passed <= 2.9.0.beta1"
},
{
"last_affected": "tests-passed <= 2.9.0.beta1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "a34075d205a8857e29574ffd82aaece0c467565e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"beta <= 2.9.0.beta1",
"stable <= 2.8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23641.json"
}
}
],
"modified": "2026-10-28T02:30:29.702501227Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23641.json",
"https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv",
"https://nvd.nist.gov/vuln/detail/CVE-2022-23641",
"https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e",
"https://github.com/discourse/discourse/pull/15927"
],
"provider_metadata": {
"cwe_ids": [
"CWE-835"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23641.json"
}
},
"related_cves": [
{
"value": "CVE-2022-23641",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496593,
"published_at": "2022-02-15T20:15:11+00:00"
}