Vulnerability · Published Jun 6, 2023 · Assigned by mitre
CVE-2023-31606
High 7.5
In plain English
A high-severity security flaw in the ruby-redcloth package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.5%top 25.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-redcloth | no fix listed | DEBIAN-CVE-2023-31606 |
| Debian:13 | ruby-redcloth | 4.3.3-1 | DEBIAN-CVE-2023-31606 |
| Debian:14 | ruby-redcloth | 4.3.3-1 | DEBIAN-CVE-2023-31606 |
| RubyGems | RedCloth | 4.3.3 | GHSA-qcm3-vfq5-wfr2 |
| Ubuntu:22.04:LTS | ruby-redcloth | 4.3.2-4ubuntu0.22.04.1 | USN-6358-1 |
| Ubuntu:22.04:LTS | ruby-redcloth | 4.3.2-4ubuntu0.22.04.1 | UBUNTU-CVE-2023-31606 |