CVE-2023-28107
What it is
Discourse is an open-source discussion platform. Prior to version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches, a user logged as an administrator can request backups multiple times, which will eat up all the connections to the DB. If this is done on a site using multisite, then it can affect the whole cluster. The vulnerability is patched in version 3.0.2 of the `stable` branch and version 3.1.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. High risk of service disruption.
- 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.5 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.1
- Discourse < 3.1.0
- Discourse 3.1.0
Attack profile CVSS 3.1 · 4.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/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-2023-28107.md and follow it. Check whether this project is affected by CVE-2023-28107. 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/0bd64788d2b4680c04fbef76314a24884d65fed9
- https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61
- https://github.com/discourse/discourse/pull/20700
- https://github.com/discourse/discourse/pull/20701
- https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx
- https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9
- https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61
- https://github.com/discourse/discourse/pull/20700
- https://github.com/discourse/discourse/pull/20701
- https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx
References
- https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9
- https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61
- https://github.com/discourse/discourse/pull/20700
- https://github.com/discourse/discourse/pull/20701
- https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx
- https://github.com/discourse/discourse/commit/0bd64788d2b4680c04fbef76314a24884d65fed9
- https://github.com/discourse/discourse/commit/78a3efa7104eed6dd3ed7a06a71e2705337d9e61
- https://github.com/discourse/discourse/pull/20700
- https://github.com/discourse/discourse/pull/20701
- https://github.com/discourse/discourse/security/advisories/GHSA-cp7c-fm4c-6xxx