CVE-2023-31606
7.5high
RedCloth Regular Expression Denial of Service issue
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.51% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-qcm3-vfq5-wfr2
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| RedCloth (RubyGems) | before 4.3.3 | GitHub Advisory Database |
| promptworks redcloth | from 4.0.0 up to 4.3.2 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of RedCloth gem. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.
References
| https://github.com/jgarber/redcloth/issues/73 | exploit, issue-tracking, third-party-advisory, web | |
| https://github.com/jgarber/redcloth | package, product | |
| https://github.com/e23e/CVE-2023-31606#readme | exploit, third-party-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html | mailing-list, web | |
| https://security.gentoo.org/glsa/202401-14 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-31606 | advisory | |
| https://github.com/jgarber/redcloth/commit/8b1327688fef8e6617792054ef299d7bc74c0a1e | web | |
| https://github.com/jgarber/redcloth/blob/v4.3.2/lib/redcloth/formatters/html.rb#L327 | web | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2023-31606.yml | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31606 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qcm3-vfq5-wfr2 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-31606 changed 2026-06-17 | Public domain |