Vulnerability in Flavorjones Loofah
CVE-2022-23516
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.
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.011 (64.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: +0.000
Affected products
- Flavorjones Loofah — versions >= 2.2.0, < 2.19.1
- Loofah Project
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-23516?
- CVE-2022-23516 is a high-severity vulnerability in Flavorjones Loofah, classified under Uncontrolled Recursion. CVSS score: 7.5/10. Published 2022-12-14.
- How severe is CVE-2022-23516?
- High severity. CVSS v3 base score is 7.5 out of 10.