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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.51% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 73.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-06-06 00:00Z3 YR AGO
- Last updated
- 2024-08-02 14:53Z2 YR AGO
- Reserved
- 2023-04-29
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-1333Inefficient Regular Expression ComplexityBase
- Data version
- 5.1
- Document digest
- 03df52bda3c93e26f2d87b6c70ad4062d3d68a2294bc9674b1c3e2339c7f756d
05 Affected products
06 References
- github.comhttps://github.com/jgarber/redcloth/issues/73
- github.comhttps://github.com/jgarber/redcloth
- github.comhttps://github.com/e23e/CVE-2023-31606#readme
- lists.debian.org[debian-lts-announce] 20230706 [SECURITY] [DLA 3480-1] ruby-redcloth security updatehttps://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
- security.gentoo.orgGLSA-202401-14https://security.gentoo.org/glsa/202401-14
07 Fixed in
Debian 12
- ruby-redcloth No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ruby-redcloth Fixed in 4.3.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ruby-redcloth Fixed in 4.3.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- ruby-redcloth Fixed in 4.3.2-3+deb10u1build0.20.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- ruby-redcloth Fixed in 4.3.2-4ubuntu0.22.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- ruby-redcloth Fixed in 4.2.9-5ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- ruby-redcloth Fixed in 4.3.2-3ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.