GitHub Advisoryadvisory · RubyGems

GHSA-qcm3-vfq5-wfr2 RedCloth Regular Expression Denial of Service issue

HIGH Published 2023-06-06 Modified 2024-01-09 Official page ↗
Aliases
CVE-2023-31606
Ecosystem
RubyGems
Packages
RedCloth
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Reviewed
2023-06-06

Affected packages

• RubyGems RedCloth: < 4.3.3 → fixed in 4.3.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-31606 A Regular Expression Denial of Service (ReDoS) issue was discovered in the sanitize_html function of redcloth gem v4.0.0. vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References