CVE-2023-31606Promptworks Redcloth
High 7.5 No auth needed
Follow: this CVE · Promptworks · Promptworks Redcloth We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Jun 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for Redcloth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | RedCloth |
< 4.3.3 |
4.3.3 |
gem "RedCloth", ">= 4.3.3" |
Per OSV / GitHub Advisories (GHSA-qcm3-vfq5-wfr2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| promptworks | redcloth | ≥ 4.0.0 ≤ 4.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Product
- github.com Exploit Issue Tracking Third Party Advisory
- lists.debian.org
- security.gentoo.org