CVE-2023-31606: redcloth - Regular Expression Denial of Service
- Cve: CVE-2023-31606
- Name: redcloth - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause a denial of service by exhausting server resources with crafted input.
- Remediation: Update to the latest version of redcloth gem where the vulnerability is fixed.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01513
- Epss percentile: 0.75009
- Assignee: [email protected]
- Published at: 2023-06-06T17:15:14Z
- Age in days: 1267
- Modified at: 2026-06-17T05:57:14Z
- Public exploits total: 3
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-31606
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/e23e/CVE-2023-31606#readme | nvd | 2023-06-06 |
| https://github.com/jgarber/redcloth/issues/73 | nvd | 2023-06-06 |
| https://github.com/merbinr/CVE-2023-31606 | poc-in-github | 2023-06-03 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/e23e/CVE-2023-31606#readme | Exploit, Third Party Advisory |
| https://github.com/jgarber/redcloth/issues/73 | Exploit, Issue Tracking, Third Party Advisory |
| https://github.com/jgarber/redcloth | Product |
| https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html | |
| https://security.gentoo.org/glsa/202401-14 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| promptworks:redcloth | >= 4.0.0, <= 4.3.2 | no | nvd | /v1/products/promptworks/redcloth |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jgarber/redcloth | commit, issues, package | yes | /v1/repositories/jgarber/redcloth |
Index
- Repositories: 6
- Repositories high signal: 2
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2023-06-03
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts