
CVE catalog
CVE-2023-31606
ruby-redcloth: CVE-2023-31606
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.51% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-redcloth | sid | 4.3.4-2 | fixed |
| Debian | ruby-redcloth | forky | 4.3.4-2 | fixed |
| Debian | ruby-redcloth | trixie | 4.3.4-1 | fixed |
| Debian | ruby-redcloth | bookworm | 4.3.2-4 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-2 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3build1 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3ubuntu0.1~esm1 | fixed |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3build1 | vulnerable |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3build2 | vulnerable |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3+deb10u1build0.20.04.1 | fixed |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-3build2 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-3build3 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-4 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-4ubuntu0.22.04.1 | fixed |
| Ubuntu | ruby-redcloth | pro | 4.3.2-2 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3build1 | vulnerable |
| Ubuntu | ruby-redcloth | pro | 4.3.2-3ubuntu0.1~esm1 | fixed |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3build1 | vulnerable |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3build2 | vulnerable |
| Ubuntu | ruby-redcloth | 20.04 | 4.3.2-3+deb10u1build0.20.04.1 | fixed |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-3build2 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-3build3 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-4 | vulnerable |
| Ubuntu | ruby-redcloth | 22.04 | 4.3.2-4ubuntu0.22.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-redcloth | source | sid | 4.3.3-1 | not yet assigned | Not reported | [1040488] |
| Debian | ruby-redcloth | source | forky | 4.3.3-1 | not yet assigned | Not reported | [1040488] |
| Debian | ruby-redcloth | source | trixie | 4.3.3-1 | not yet assigned | Not reported | [1040488] |
| Debian | ruby-redcloth | source | bookworm | (unfixed) | not yet assigned | Not reported | [1040488] |
| Ubuntu | ruby-redcloth | deb | pro | 4.3.2-3ubuntu0.1~esm1 | Not reported | USN-6358-1 | Not reported |
| Ubuntu | ruby-redcloth | deb | 20.04 | 4.3.2-3+deb10u1build0.20.04.1 | Not reported | USN-6358-1 | Not reported |
| Ubuntu | ruby-redcloth | deb | 22.04 | 4.3.2-4ubuntu0.22.04.1 | Not reported | USN-6358-1 | Not reported |
| Ubuntu | ruby-redcloth | deb | pro | 4.3.2-3ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2023-31606 | Not reported |
| Ubuntu | ruby-redcloth | deb | 20.04 | 4.3.2-3+deb10u1build0.20.04.1 | Not reported | UBUNTU-CVE-2023-31606 | Not reported |
| Ubuntu | ruby-redcloth | deb | 22.04 | 4.3.2-4ubuntu0.22.04.1 | Not reported | UBUNTU-CVE-2023-31606 | Not reported |
Notes
[bookworm] ruby-redcloth: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-31606]
- [https://osv.dev/vulnerability/DLA-3480-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-31606]
- [https://osv.dev/vulnerability/USN-6358-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-31606]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]