CVE-2024-24827
published medium CVSS 3.1 · 5.3No rate limits on POST /uploads endpoint in Discourse
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discoursestable <= 3.2.0 · beta < 3.3.0.beta1 · tests-passed < 3.3.0.beta1 | Affected | Not stated | GitHub_M |
| discourse | — | discoursestable to < 3.2.0 · beta to < 3.3.0beta1 · tests_passed to < 3.3.0beta1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
Discourse is an open source platform for community discussion. Without a rate limit on the POST /uploads endpoint, it makes it easier for an attacker to carry out a DoS attack on the server since creating an upload can be a resource intensive process. Do note that the impact varies from site to site as various site settings like `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` will determine the amount of resources used when creating an upload. The issue is patched in the latest stable, beta and tests-passed version of Discourse. Users are advised to upgrade. Users unable to upgrade should reduce `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` as smaller uploads require less resources to process. Alternatively, `client_max_body_size` can be reduced in Nginx to prevent large uploads from reaching the server.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | stable <= 3.2.0 (affected)beta < 3.3.0.beta1 (affected)tests-passed < 3.3.0.beta1 (affected) | GitHub_M · cna |
| discourse | discourse | stable to < 3.2.0 (affected · custom)beta to < 3.3.0beta1 (affected · custom)tests_passed to < 3.3.0beta1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
3GitHub_M · cna
No rate limits on POST /uploads endpoint in Discourse
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 02e0de96de4cf2a4256f0d789c8f236dd6795cca0cc7b48059b0e22d896088bb
- Ingested
- 23 Sep 2026, 08:19:54 UTC
- Source record
- Official CVE record