High, CVSS 7.5RubyGemsPublished
RedCloth Regular Expression Denial of Service issue
CVE-2023-31606 · GHSA-qcm3-vfq5-wfr2
- Affected
- RubyGems RedCloth < 4.3.3
- Fixed in
- 4.3.3· Vendor fix available
- Issue
- A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitizehtml function of RedCloth gem. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.
Recommended action: Upgrade to 4.3.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.