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 trend (30 days)EPSS over the last 30 days for CVE-2022-23514: held from 0.017 to 0.018.

EPSS over last 30 days · oldest: 0.017 · newest: 0.018 · change: +0.001

Affected products

Weakness classification (CWE)

References

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.