GHSA-qcm3-vfq5-wfr2

Suggest an improvement
Source
https://github.com/advisories/GHSA-qcm3-vfq5-wfr2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-qcm3-vfq5-wfr2/GHSA-qcm3-vfq5-wfr2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qcm3-vfq5-wfr2
Aliases
Published
2023-06-06T18:30:20Z
Modified
2024-01-10T16:19:02.085672Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
RedCloth Regular Expression Denial of Service issue
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.

Database specific
{
    "nvd_published_at": "2023-06-06T17:15:14Z",
    "cwe_ids": [
        "CWE-1333"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-06T20:27:29Z"
}
References

Affected packages

RubyGems / RedCloth

Package

Name
RedCloth
Purl
pkg:gem/RedCloth

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.3.3

Affected versions

3.*

3.0.0
3.0.1
3.0.2
3.0.3
3.0.4

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.pre1
4.2.4.pre2
4.2.4.pre3
4.2.4
4.2.5
4.2.7
4.2.8
4.2.9
4.3.0
4.3.1
4.3.2