hoch7.5
CVE-2023-31606
RedCloth Regular Expression Denial of Service issue
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | RedCloth | < 4.3.3 | 4.3.3 |
Betroffene Produkte · Promptworks
| Produkt | Betroffene Versionen |
|---|---|
| Redcloth | ab 4.0.0 bis einschließlich 4.3.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/e23e/CVE-2023-31606#readme
- https://github.com/jgarber/redcloth
- https://github.com/jgarber/redcloth/issues/73
- https://lists.debian.org/debian-lts-announce/2023/07/msg00002.html
- https://security.gentoo.org/glsa/202401-14
- https://github.com/advisories/GHSA-qcm3-vfq5-wfr2
- https://nvd.nist.gov/vuln/detail/CVE-2023-31606
- https://github.com/jgarber/redcloth/blob/v4.3.2/lib/redcloth/formatters/html.rb#L327
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/RedCloth/CVE-2023-31606.yml
- https://github.com/jgarber/redcloth/commit/8b1327688fef8e6617792054ef299d7bc74c0a1e