VDB

CVE-2023-31606

CVE-2023-31606 PUBLISHED CVSS 7.5 HIGH

RedCloth Regular Expression Denial of Service issue

Reported by mitre · Published June 6, 2023

RedCloth is fixed in 4.3.3 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
RedClothRubyGems4.3.3
redclothpromptworks4.3.2

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
RubyGemsRedCloth0

Timeline

  • Jun 6, 2023 CVE Published
  • Jun 7, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 16, 2026 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-31606
vulnetix vdb fixes CVE-2023-31606

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-31606/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›