# CVE-2023-23621: Discourse vulnerable to ReDoS in user agent parsing

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2023-01-27T23:31:05.923Z
- Modified: 2026-09-08T08:46:08.424Z
- Also known as: BIT-DISCOURSE-2023-23621, GHSA-mrfp-54hf-jrcv
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open-source discussion platform. Prior to version 3.0.1 on the `stable` branch and version 3.1.0.beta2 on the `beta` and `tests-passed` branches, a malicious user can cause a regular expression denial of service using a carefully crafted user agent. This issue is patched in version 3.0.1 on the `stable` branch and version 3.1.0.beta2 on the `beta` and `tests-passed` branches. There are no known workarounds.

(As written by CVE List.)

## Affected

- discourse discourse: < 3.0.1; = 3.1.0.beta1; before 3.0.1; 1.1.0; 1.2.0; 1.3.0; 1.4.0; 1.5.0
- discourse (Bitnami): before 3.0.1

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/pull/20002> (fix, issue-tracking, patch)
- <https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-23621> (web)

## Sources

- CVE List: [CVE-2023-23621](https://www.cve.org/CVERecord?id=CVE-2023-23621), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-23621](https://nvd.nist.gov/vuln/detail/CVE-2023-23621), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2023-23621](https://osv.dev/vulnerability/BIT-DISCOURSE-2023-23621), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-23621 · Whole record: https://cve.day/CVE-2023-23621.json · Rebuilt by cve.day 2026-11-25T22:58:21.762Z
