CVE-2023-23621
JSON

8.6high

Discourse vulnerable to ReDoS in user agent parsing

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
0.93% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2023-23621GHSA-mrfp-54hf-jrcv

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.

Affected

Product or packageVersionsReported by
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.0CVE List, NVD
discourse (Bitnami)before 3.0.1Bitnami Vulnerability Database

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Discourse es una plataforma de discusión de código abierto. Antes de la versión 3.0.1 en la rama "stable" y la versión 3.1.0.beta2 en las ramas "beta" y "tests-passed", un usuario malintencionado podía provocar una denegación de servicio de expresión regular utilizando un agente de usuario cuidadosamente manipulado. Este problema se solucionó en la versión 3.0.1 en la rama "stable" y en la versión 3.1.0.beta2 en las ramas "beta" y "tests-passed". No se conocen workarounds.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-23621 changed 2025-03-10CVE Terms of Use
NVDCVE-2023-23621 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2023-23621 changed 2026-09-08Apache-2.0