A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html…
Priority LOW 36CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
EPSS 0.01513 74th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Partial RedCloth (RubyGems): 4.3.3Red Hat: 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | RedCloth (RubyGems) | before 4.3.3 | 4.3.3 | Patch available | GHSA-qcm3-vfq5-wfr2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- RedCloth (RubyGems) Vendor— Affected before 4.3.3 Fixed in 4.3.3 Patch available GHSA-qcm3-vfq5-wfr2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:* | 4.0.0 – 4.3.2 | Vulnerable | Promptworks |
- cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:* Versions 4.0.0 – 4.3.2 Vulnerable ·Promptworks
Remediation
- Fix · GHSA-qcm3-vfq5-wfr2 RedCloth (RubyGems) Fixed in 4.3.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-31606
- 2026-10-03 Alias added: GHSA-qcm3-vfq5-wfr2
References
Other 5
- https://github.com/jgarber/redcloth
- [debian-lts-announce] 20230706 [SECURITY] [DLA 3480-1] ruby-redcloth security update
- https://github.com/jgarber/redcloth/commit/8b1327688fef8e6617792054ef299d7bc74c0a1e
- https://github.com/jgarber/redcloth/blob/v4.3.2/lib/redcloth/formatters/html.rb#L327
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2023-31606.yml
Sources
- CVE-2023-31606 · CVE Program
- CVE-2023-31606 · NVD
- FIRST EPSS
- GHSA-qcm3-vfq5-wfr2 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-31606 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences