{"api_version":"1","generated_at":"2026-07-23T13:25:28+00:00","cve":"CVE-2023-31606","urls":{"html":"https://cve.report/CVE-2023-31606","api":"https://cve.report/api/cve/CVE-2023-31606.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-31606","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-31606"},"summary":{"title":"CVE-2023-31606","description":"A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of redcloth gem v4.0.0. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2023-06-06 17:15:00","updated_at":"2024-01-10 14:15:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://github.com/jgarber/redcloth/issues/73","name":"https://github.com/jgarber/redcloth/issues/73","refsource":"MISC","tags":[],"title":"ReDOS possible in the sanitize_html function · Issue #73 · jgarber/redcloth · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/e23e/CVE-2023-31606#readme","name":"https://github.com/e23e/CVE-2023-31606#readme","refsource":"MISC","tags":[],"title":"GitHub - e23e/CVE-2023-31606","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html","name":"[debian-lts-announce] 20230706 [SECURITY] [DLA 3480-1] ruby-redcloth security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3480-1] ruby-redcloth security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-14","name":"GLSA-202401-14","refsource":"","tags":[],"title":"RedCloth: ReDoS Vulnerability (GLSA 202401-14) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/jgarber/redcloth","name":"https://github.com/jgarber/redcloth","refsource":"MISC","tags":[],"title":"GitHub - jgarber/redcloth: RedCloth is a Ruby library for converting Textile into HTML.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-31606","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31606","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"31606","vulnerable":"1","versionEndIncluding":"4.3.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"promptworks","cpe5":"redcloth","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-31606","qid":"710832","title":"Gentoo Linux RedCloth ReDoS Vulnerability (GLSA 202401-14)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2023-31606","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of redcloth gem v4.0.0. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/jgarber/redcloth/issues/73","refsource":"MISC","name":"https://github.com/jgarber/redcloth/issues/73"},{"url":"https://github.com/jgarber/redcloth","refsource":"MISC","name":"https://github.com/jgarber/redcloth"},{"refsource":"MISC","name":"https://github.com/e23e/CVE-2023-31606#readme","url":"https://github.com/e23e/CVE-2023-31606#readme"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230706 [SECURITY] [DLA 3480-1] ruby-redcloth security update","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html"}]}},"nvd":{"publishedDate":"2023-06-06 17:15:00","lastModifiedDate":"2024-01-10 14:15:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:*","versionStartIncluding":"4.0.0","versionEndIncluding":"4.3.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}