Vulnerability Details : CVE-2023-22740
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.
Vulnerability category: Denial of service
Products affected by CVE-2023-22740
- cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-22740
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 33 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-22740
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
2.8
|
3.6
|
NIST | |
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
2.8
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2023-22740
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-22740
-
https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224
Chat drafts should have a maximum character limit and the number of loaded drafts should be limited · Advisory · discourse/discourse · GitHubThird Party Advisory
-
https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576
SECURITY: Limit chat drafts length and preloaded count (#19987) · discourse/discourse@5eaf080 · GitHubPatch;Third Party Advisory
Jump to