CVE-2023-22740: Discourse - Resource Allocation Without Limits
- Cve: CVE-2023-22740
- Name: Discourse - Resource Allocation Without Limits
- Description: 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.
- Impact: Attackers can cause denial of service by creating excessive chat drafts, leading to server overload and potential downtime.
- Remediation: Upgrade to version 3.1.0.beta1 or later where limits have been introduced.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to create chat drafts
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00714
- Epss percentile: 0.54624
- Assignee: [email protected]
- Published at: 2023-01-27T01:15:08Z
- Age in days: 1397
- Modified at: 2026-06-17T05:36:04Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-22740
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576 | nvd | Patch, Third Party Advisory |
| https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| discourse:discourse | <= 3.0.0 | no | nvd | /v1/products/discourse/discourse |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| discourse/discourse | commit, fix, security_advisory | yes | /v1/repositories/discourse/discourse |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 22639
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports