{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-31606","id":"CVE-2023-31606","title":"RedCloth Regular Expression Denial of Service issue","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.","descriptionLong":"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.","published":"2023-06-06T00:00:00.000Z","updated":"2026-10-28T02:30:22.801652119Z","reserved":"2023-04-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"RedCloth","purl":"pkg:gem/RedCloth","ranges":["<4.3.3"],"fixed":["4.3.3"],"advisory":"GHSA-qcm3-vfq5-wfr2"}],"cwes":["CWE-1333"],"aliases":["GHSA-qcm3-vfq5-wfr2"],"references":[{"url":"https://github.com/jgarber/redcloth/issues/73","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/jgarber/redcloth","tags":["x_transferred","Product","package"]},{"url":"https://github.com/e23e/CVE-2023-31606#readme","tags":["x_transferred","Exploit","Third Party Advisory","package","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html","tags":["mailing-list","x_transferred","article","web"]},{"url":"https://security.gentoo.org/glsa/202401-14","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31606.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31606","tags":["advisory"]},{"url":"https://github.com/jgarber/redcloth/commit/8b1327688fef8e6617792054ef299d7bc74c0a1e","tags":["web"]},{"url":"https://github.com/jgarber/redcloth/blob/v4.3.2/lib/redcloth/formatters/html.rb#L327","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2023-31606.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01513,"epssPercentile":0.75027,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-31606","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31606","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-31606","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qcm3-vfq5-wfr2","ok":true,"note":"GHSA-qcm3-vfq5-wfr2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-31606","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}