CVE-2022-23516

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23516
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23516.json
Aliases
Related
Published
2022-12-14T14:15:10Z
Modified
2023-11-29T09:26:59.924077Z
Details

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.

References

Affected packages

Git / github.com/flavorjones/loofah

Affected ranges

Type
GIT
Repo
https://github.com/flavorjones/loofah
Events

Affected versions

v2.*

v2.10.0
v2.11.0
v2.12.0
v2.13.0
v2.14.0
v2.15.0
v2.16.0
v2.17.0
v2.18.0
v2.19.0
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.8.0
v2.9.0
v2.9.1