Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1xY20zLXZmcTUtd2ZyMs4AAzr_
RedCloth Regular Expression Denial of Service issue
A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html
function of RedCloth gem. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xY20zLXZmcTUtd2ZyMs4AAzr_
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 11 months ago
Updated: 4 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-qcm3-vfq5-wfr2, CVE-2023-31606
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-31606
- https://github.com/jgarber/redcloth/issues/73
- https://github.com/e23e/CVE-2023-31606#readme
- https://github.com/jgarber/redcloth/blob/v4.3.2/lib/redcloth/formatters/html.rb#L327
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2023-31606.yml
- https://github.com/jgarber/redcloth
- https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
- https://github.com/jgarber/redcloth/commit/8b1327688fef8e6617792054ef299d7bc74c0a1e
- https://security.gentoo.org/glsa/202401-14
- https://github.com/advisories/GHSA-qcm3-vfq5-wfr2
Blast Radius: 32.8
Affected Packages
rubygems:RedCloth
Dependent packages: 431Dependent repositories: 23,955
Downloads: 32,594,162 total
Affected Version Ranges: < 4.3.3
Fixed in: 4.3.3
All affected versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.1.1, 4.1.9, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.2.7, 4.2.8, 4.2.9, 4.3.0, 4.3.1, 4.3.2
All unaffected versions: 4.3.3, 4.3.4