CVE-2023-23621

Discourse vulnerable to ReDoS in user agent parsing

State
Published
Severity
8.6 High
Published
Jan 27, 2023
Updated
Mar 10, 2025
Reserved
Jan 16, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity

Affected Products

ProductVersions
discoursediscourse
  • < 3.0.1Affected
  • = 3.1.0.beta1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.