CVE-2023-22740
What it is
Discourse is an open source platform for community discussion. Versions prior to 3.1.0.beta1 (beta) (tests-passed) are vulnerable to Allocation of Resources Without Limits. Users can create chat drafts of an unlimited length, which can cause a denial of service by generating an excessive load on the server. Additionally, an unlimited number of drafts were loaded when loading the user. This issue has been patched in version 2.1.0.beta1 (beta) and (tests-passed). Users should upgrade to the latest version where a limit has been introduced. There are no workarounds available.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.7% 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: 0.7% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-770 · Allocation without limits
- Record status
- Modified
Affected
- Discourse ≤ 3.0.0
Attack profile CVSS 3.1 · 4.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
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-2023-22740.md and follow it. Check whether this project is affected by CVE-2023-22740. 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/5eaf0802398ff06604f03b27a28dd274f2ffa576
- https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224
- https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576
- https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224
References
- https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576
- https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224
- https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576
- https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224