Vulnerability Details : CVE-2023-31606
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.
Vulnerability category: Denial of service
Products affected by CVE-2023-31606
- Promptworks » Redcloth » For RubyVersions from including (>=) 4.0.0 and up to, including, (<=) 4.3.2cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-31606
0.29%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 69 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-31606
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2023-31606
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-31606
-
https://security.gentoo.org/glsa/202401-14
RedCloth: ReDoS Vulnerability (GLSA 202401-14) — Gentoo security
-
https://github.com/jgarber/redcloth/issues/73
ReDOS possible in the sanitize_html function · Issue #73 · jgarber/redcloth · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
[SECURITY] [DLA 3480-1] ruby-redcloth security update
-
https://github.com/e23e/CVE-2023-31606#readme
GitHub - e23e/CVE-2023-31606Exploit;Third Party Advisory
-
https://github.com/jgarber/redcloth
GitHub - jgarber/redcloth: RedCloth is a Ruby library for converting Textile into HTML.Product
Jump to