Debian Security Tracker
DEBIAN-CVE-2022-23517
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | ruby-rails-html-sanitizer | All versions before 1.4.4-1 (fixed in 1.4.4-1) |
| Debian:13 | ruby-rails-html-sanitizer | All versions before 1.4.4-1 (fixed in 1.4.4-1) |
| Debian:14 | ruby-rails-html-sanitizer | All versions before 1.4.4-1 (fixed in 1.4.4-1) |