CVE-2022-23641
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of service disruption.
- Exploit odds
- 1.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.2% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.2% · EPSS, next 30 days
- Weakness
- CWE-835
- Record status
- Modified
Affected
- Discourse < 2.8.1
Attack profile CVSS 3.1 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-23641.md and follow it. Check whether this project is affected by CVE-2022-23641. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e
- https://github.com/discourse/discourse/pull/15927
- https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv
- https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e
- https://github.com/discourse/discourse/pull/15927
- https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv
References
- https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e
- https://github.com/discourse/discourse/pull/15927
- https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv
- https://github.com/discourse/discourse/commit/a34075d205a8857e29574ffd82aaece0c467565e
- https://github.com/discourse/discourse/pull/15927
- https://github.com/discourse/discourse/security/advisories/GHSA-22xw-f62v-cfxv