CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Rubyonrails

CVE-2022-23517
Rubyonrails Rails Html Sanitizers vulnerability

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 products

Rails Html Sanitizers, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rubyonrails Rails Html Sanitizers runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Rubyonrails products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.