CVE-2022-23514

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah < 2.19.1 contains 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 is patched in version 2.19.1.
References
Link Resource
https://hackerone.com/reports/1684163 Permissions Required Third Party Advisory
https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh Third Party Advisory
Configurations

Configuration 1

cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*

Information

Published : 2022-12-14 02:15

Updated : 2022-12-19 05:03


NVD link : CVE-2022-23514

Mitre link : CVE-2022-23514

Products Affected
No products.
CWE
CWE-1333

Inefficient Regular Expression Complexity