Vulnerability Description
rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use an inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. This may lead to a denial of service through CPU resource consumption. This issue has been patched in version 1.4.4.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails Html Sanitizers | < 1.4.4 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/rails/rails-html-sanitizer/commit/56c61c0cebd1e493e8ad7bca2a0PatchThird Party Advisory
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-5x79-w82fThird Party Advisory
- https://hackerone.com/reports/1684163Permissions RequiredThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlMailing ListThird Party Advisory
- https://github.com/rails/rails-html-sanitizer/commit/56c61c0cebd1e493e8ad7bca2a0PatchThird Party Advisory
- https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-5x79-w82fThird Party Advisory
- https://hackerone.com/reports/1684163Permissions RequiredThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00012.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html
FAQ
What is CVE-2022-23517?
CVE-2022-23517 is a vulnerability with a CVSS score of 7.5 (HIGH). rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use an inefficient regular expression that is susceptibl...
How severe is CVE-2022-23517?
CVE-2022-23517 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23517?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails Html Sanitizers, Debian Debian Linux.