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.

Permalink: https://github.com/advisories/GHSA-qcm3-vfq5-wfr2
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: Repository: https://github.com/jgarber/redcloth
Blast Radius: 32.8

Affected Packages

rubygems:RedCloth
Dependent packages: 431
Dependent 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