CVEfocus › CVE database › CVE-2023-31606

CVE-2023-31606

CVSS 7.5 HighEPSS 1.7% (higher than 77% of CVEs)Published 2023-06-06Updated 2024-08-02Assigner: mitre

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.

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ruby-redclothFixed4.3.2-4ubuntu0.22.04.1UBUNTU-CVE-2023-31606
Ubuntu 20.04ruby-redclothFixed4.3.2-3+deb10u1build0.20.04.1UBUNTU-CVE-2023-31606
Ubuntu 18.04ruby-redclothFix pending4.3.2-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-31606
Ubuntu 16.04ruby-redclothFix pending4.2.9-5ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-31606
Ubuntu 14.04ruby-redclothFix pending
Debian 14ruby-redclothFixed4.3.3-1DEBIAN-CVE-2023-31606
Debian 13ruby-redclothFixed4.3.3-1DEBIAN-CVE-2023-31606
Debian 12ruby-redclothFix pendingDEBIAN-CVE-2023-31606
RubyGems libraryredclothFixed4.3.3GHSA-qcm3-vfq5-wfr2

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.