Security mailing lists by PureSourceCode

CVE-2023-31606

HIGH 7.5CVSS 3.1

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 v4.0.0. This vulnerability allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

Published
6 Jun 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-qcm3-vfq5-wfr2
Sources
NVDJSONOSV GHSA-qcm3-vfq5-wfr2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD promptworks redcloth
cpe:2.3:a:promptworks:redcloth:*:*:*:*:*:ruby:*:*
>= 4.0.0, <= 4.3.2
OSV RubyGems RedCloth < 4.3.3 4.3.3

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Jun 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.