CVE-2022-23514: Inefficient Regular Expression Complexity in Loofah
(updated )
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.
References
- github.com/advisories/GHSA-486f-hjj9-9vhh
- github.com/flavorjones/loofah
- github.com/flavorjones/loofah/commit/a6e0a1ab90675a17b1b2be189129d94139e4b143
- github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh
- github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2022-23514.yml
- hackerone.com/reports/1684163
- lists.debian.org/debian-lts-announce/2023/09/msg00011.html
- lists.debian.org/debian-lts-announce/2024/09/msg00044.html
- nvd.nist.gov/vuln/detail/CVE-2022-23514
Code Behaviors & Features
Detect and mitigate CVE-2022-23514 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →