CVE-2023-31606: 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.
CVE-2023-31606 is a vulnerability in 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., rated Important by Microsoft, with a CVSS 3.1 base score of 7.5 (High). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.51% probability of exploitation activity in the next 30 days, higher than 75% of all scored vulnerabilities. Microsoft released the fix on 20 October 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2023-31606
- Severity
- High CVSS 7.5
- Microsoft severity
- Important
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-1333
- EPSS
- 1.51% (percentile 75%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- June 2023 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2023-31606 at 7.5 (temporal 7.5) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl4 rubygem-RedCloth 4.3.2-34.azl4 on Azure Linux 4.0 | Release Notes | Security Update | 0:4.3.3-35.azl4 |
Exploitation and detection
Detection and weaponization
Weaponization maturity: Exploit.
Proof-of-concept repositories (1)
- merbinr/CVE-2023-31606 · 2 stars
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 7.5 (HIGH)
- NVD weakness
- CWE-1333
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| redcloth | from 4.0.0, up to and including 4.3.2 |
References
- https://github.com/e23e/CVE-2023-31606#readme (Exploit, Third Party Advisory)
- https://github.com/jgarber/redcloth (Product)
- https://github.com/jgarber/redcloth/issues/73 (Exploit, Issue Tracking, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
- https://security.gentoo.org/glsa/202401-14
- https://github.com/e23e/CVE-2023-31606#readme (Exploit, Third Party Advisory)
- https://github.com/jgarber/redcloth (Product)
- https://github.com/jgarber/redcloth/issues/73 (Exploit, Issue Tracking, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
- https://security.gentoo.org/glsa/202401-14
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. |