{"id":"CVE-2023-23621","state":"PUBLISHED","title":"Discourse vulnerable to ReDoS in user agent parsing","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.","publishedAt":"2023-01-27T23:31:05.923Z","updatedAt":"2025-03-10T21:18:01.772Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["discourse discourse"],"affected":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 3.0.1","status":"affected"},{"version":"= 3.1.0.beta1","status":"affected"}]}],"references":["https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv","https://github.com/discourse/discourse/pull/20002","https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/23xxx/CVE-2023-23621.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-23621","state":"PUBLISHED","datePublished":"2023-01-27T23:31:05.923Z","dateUpdated":"2025-03-10T21:18:01.772Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-16T17:07:46.243Z"},"containers":{"cna":{"title":"Discourse vulnerable to ReDoS in user agent parsing","descriptions":[{"lang":"en","value":"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":[{"vendor":"discourse","product":"discourse","versions":[{"version":"< 3.0.1","status":"affected"},{"version":"= 3.1.0.beta1","status":"affected"}]}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv","name":"https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/pull/20002","name":"https://github.com/discourse/discourse/pull/20002","tags":["x_refsource_MISC"]},{"url":"https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458","name":"https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-01-27T23:31:05.923Z"},"source":{"advisory":"GHSA-mrfp-54hf-jrcv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv","name":"https://github.com/discourse/discourse/security/advisories/GHSA-mrfp-54hf-jrcv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/discourse/discourse/pull/20002","name":"https://github.com/discourse/discourse/pull/20002","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458","name":"https://github.com/discourse/discourse/commit/6d92c3cbdac431db99a450f360a3048bb3aaf458","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:35:33.650Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:59:22.489717Z","id":"CVE-2023-23621","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:18:01.772Z"}}]}}}