CVE-2022-23517
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.
How to fix
- rubyonrails rails_html_sanitizers1.4.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubyonrails rails_html_sanitizers | v < 1.4.4 | 1.4.4 |
| debian debian_linux | 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.