5.3medium
Anonymous user cache poisoning via development-mode header in Discourse
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.05% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2021-43794GHSA-249g-pc77-65hp
Description
Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | stable < 2.7.11, beta < 2.8.0.beta9, tests-passed < 2.8.0.beta9, before 2.7.11 | CVE List, NVD |
| discourse (Bitnami) | before 2.7.11 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Discourse is an open source discussion platform. In affected versions an attacker can poison the cache for anonymous (i.e. not logged in) users, such that the users are shown a JSON blob instead of the HTML page. This can lead to a partial denial-of-service. This issue is patched in the latest stable, beta and tests-passed versions of Discourse.
NVD (es)
Discourse es una plataforma de debate de código abierto. En las versiones afectadas, un atacante puede envenenar la caché de los usuarios anónimos (es decir, los que no han iniciado sesión), de forma que se les muestre un blob JSON en lugar de la página HTML. Esto puede conllevar a una denegación de servicio parcial. Este problema está parcheado en las últimas versiones estables, beta y de prueba de Discourse
References
| https://github.com/discourse/discourse/commit/2da0001965c6d8632d723c46ea5df9f22a1a23f1 | advisory, patch, third-party-advisory | |
| https://github.com/discourse/discourse/security/advisories/GHSA-249g-pc77-65hp | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43794 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43794 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-43794 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2021-43794 changed 2026-09-08 | Apache-2.0 |