CVE-2022-23517

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRubyonrails Rails Html Sanitizers
PublishedDec 14, 2022
First seenDec 14, 2022
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • rubyonrails rails_html_sanitizers1.4.4 or later

Affected products

ProductAffected versionsFixed in
rubyonrails rails_html_sanitizersv < 1.4.41.4.4
debian debian_linux10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-23517 · Rubyonrails Rails Html Sanitizers · Dark Radar