VDB
Sign up
HIGH7.5

GHSA-qcm3-vfq5-wfr2

RedCloth Regular Expression Denial of Service issue

Quick fix

GHSA-qcm3-vfq5-wfr2 — RedCloth: upgrade to the fixed version with the command below.

bundle update RedCloth

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/RedCloth
Introduced in: 0Fixed in: 4.3.3
Fixbundle update RedCloth

References