PT-2022-16046

CVE-2022-23516

·

Published

2022-12-13

·

Updated

2026-03-13

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Loofah versions 2.2.0 through 2.19.0
Description Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. It 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.
Recommendations For Loofah versions 2.2.0 through 2.19.0, upgrade to version 2.19.1 to resolve the issue. As a temporary workaround for users who are unable to upgrade, consider limiting the length of the strings that are sanitized to mitigate the vulnerability.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3X8R-X6XP-Q4VM
ALT-PU-2023-1338
ALT-PU-2023-4267
ALT-PU-2024-7813
DLA-3565-1
DLA-3901-1
OPENSUSE-SU-2024:12768-1
OPENSUSE-SU-2024:14171-1
OPENSUSE-SU-2025:15120-1
OPENSUSE-SU-2026:10353-1
RHSA-2023:2097
RLSA-2023:2097
SUSE-SU-2023:1657-1
Found an issue in the description? Have something to add? Feel free to write us 👾