CVE catalog

CVE-2023-31606

ruby-redcloth: CVE-2023-31606

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-redclothsid4.3.4-2fixed
Debianruby-redclothforky4.3.4-2fixed
Debianruby-redclothtrixie4.3.4-1fixed
Debianruby-redclothbookworm4.3.2-4vulnerable
Ubunturuby-redclothpro4.3.2-2vulnerable
Ubunturuby-redclothpro4.3.2-3vulnerable
Ubunturuby-redclothpro4.3.2-3build1vulnerable
Ubunturuby-redclothpro4.3.2-3ubuntu0.1~esm1fixed
Ubunturuby-redcloth20.044.3.2-3build1vulnerable
Ubunturuby-redcloth20.044.3.2-3build2vulnerable
Ubunturuby-redcloth20.044.3.2-3+deb10u1build0.20.04.1fixed
Ubunturuby-redcloth22.044.3.2-3build2vulnerable
Ubunturuby-redcloth22.044.3.2-3build3vulnerable
Ubunturuby-redcloth22.044.3.2-4vulnerable
Ubunturuby-redcloth22.044.3.2-4ubuntu0.22.04.1fixed
Ubunturuby-redclothpro4.3.2-2vulnerable
Ubunturuby-redclothpro4.3.2-3vulnerable
Ubunturuby-redclothpro4.3.2-3build1vulnerable
Ubunturuby-redclothpro4.3.2-3ubuntu0.1~esm1fixed
Ubunturuby-redcloth20.044.3.2-3build1vulnerable
Ubunturuby-redcloth20.044.3.2-3build2vulnerable
Ubunturuby-redcloth20.044.3.2-3+deb10u1build0.20.04.1fixed
Ubunturuby-redcloth22.044.3.2-3build2vulnerable
Ubunturuby-redcloth22.044.3.2-3build3vulnerable
Ubunturuby-redcloth22.044.3.2-4vulnerable
Ubunturuby-redcloth22.044.3.2-4ubuntu0.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-redclothsourcesid4.3.3-1not yet assignedNot reported[1040488]
Debianruby-redclothsourceforky4.3.3-1not yet assignedNot reported[1040488]
Debianruby-redclothsourcetrixie4.3.3-1not yet assignedNot reported[1040488]
Debianruby-redclothsourcebookworm(unfixed)not yet assignedNot reported[1040488]
Ubunturuby-redclothdebpro4.3.2-3ubuntu0.1~esm1Not reportedUSN-6358-1Not reported
Ubunturuby-redclothdeb20.044.3.2-3+deb10u1build0.20.04.1Not reportedUSN-6358-1Not reported
Ubunturuby-redclothdeb22.044.3.2-4ubuntu0.22.04.1Not reportedUSN-6358-1Not reported
Ubunturuby-redclothdebpro4.3.2-3ubuntu0.1~esm1Not reportedUBUNTU-CVE-2023-31606Not reported
Ubunturuby-redclothdeb20.044.3.2-3+deb10u1build0.20.04.1Not reportedUBUNTU-CVE-2023-31606Not reported
Ubunturuby-redclothdeb22.044.3.2-4ubuntu0.22.04.1Not reportedUBUNTU-CVE-2023-31606Not reported

[Debian bug #1040488]

Notes

[bookworm] ruby-redcloth: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References