Vulnerability in Flavorjones Loofah
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.018 (77.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.018 · change: +0.001
Affected products
- Flavorjones Loofah — versions < 2.19.1
- Loofah Project
Weakness classification (CWE)
References
- github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh (Third Party Advisory)
- hackerone.com/reports/1684163 (Permissions Required, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/09/msg00011.html
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-23514?
- CVE-2022-23514 is a high-severity vulnerability in Flavorjones Loofah, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2022-12-14.
- How severe is CVE-2022-23514?
- High severity. CVSS v3 base score is 7.5 out of 10.