Vulnerability · Published Nov 10, 2023 · Assigned by GitHub_M
CVE-2023-45806Discourse vulnerable to DoS via Regexp Injection in Full Name
Medium 4.3
In plain English
A medium-severity regular-expression denial of service in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
Discourse is an open source platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches, if a user has been quoted and uses a `|` in their full name, they might be able to trigger a bug that generates a lot of duplicate content in all the posts they've been quoted by updating their full name again. Version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches contain a patch for this issue. No known workaround exists, although one can stop the "bleeding" by ensuring users only use alphanumeric characters in their full name field.
Affected products (as reported)
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/discourse/discourse/security/advisories/GHSA-hcgf-hg2g-mw78 x_refsource_CONFIRM
- https://github.com/discourse/discourse/commit/2ec25105179199cf80912bf011c18b8b870e1863 x_refsource_MISC
- https://github.com/discourse/discourse/commit/7d484864fe91ff79c478f57e7ddb1235d701921e x_refsource_MISC