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

EcosystemPackageFixed inAdvisory
Debian:12ruby-redclothno fix listedDEBIAN-CVE-2023-31606
Debian:13ruby-redcloth4.3.3-1DEBIAN-CVE-2023-31606
Debian:14ruby-redcloth4.3.3-1DEBIAN-CVE-2023-31606
RubyGemsRedCloth4.3.3GHSA-qcm3-vfq5-wfr2
Ubuntu:22.04:LTSruby-redcloth4.3.2-4ubuntu0.22.04.1USN-6358-1
Ubuntu:22.04:LTSruby-redcloth4.3.2-4ubuntu0.22.04.1UBUNTU-CVE-2023-31606

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References