Vulnerability Details : 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 category: Denial of service
Products affected by CVE-2022-23514
- cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-23514
0.25%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-23514
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-23514
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-23514
-
https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh
Inefficient Regular Expression Complexity in Loofah · Advisory · flavorjones/loofah · GitHubThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html
[SECURITY] [DLA 3565-1] ruby-loofah security update
-
https://hackerone.com/reports/1684163
HackerOnePermissions Required;Third Party Advisory
Jump to