CVE-2022-23514
published high CVSS 3.1 · 7.5Inefficient Regular Expression Complexity in Loofah
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| flavorjones | — | loofah< 2.19.1 | Affected | Not stated | GitHub_M |
| Debian | bullseye | ruby-loofah | Advisory build | 2.7.0+dfsg-1+deb11u1 | DLA-3901-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| Rocky Linux | 8 | libdb-cxxx86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Debian | buster | ruby-loofah | Advisory build | 2.2.3-1+deb10u2 | DLA-3565-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
Show 50 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuiteaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuiteppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuites390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuitex86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahaarch64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahppc64le | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahs390x | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahx86_64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahaarch64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahppc64le | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahs390x | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahx86_64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahaarch64 | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahppc64le | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahs390x | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahx86_64 | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahaarch64 | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahppc64le | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahs390x | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahx86_64 | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahaarch64 | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahppc64le | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahs390x | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahx86_64 | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| Rocky Linux | 8 | libdb-cxx-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-devel-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-utils-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| flavorjones | loofah | < 2.19.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
4Provider assertions
3GitHub_M · cna
Inefficient Regular Expression Complexity in Loofah
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ab62590a142829fa2ae034c8492624777f72633b19d7eafa6bd90a6f69a78b1b
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record