{"api_version":"1","generated_at":"2026-04-23T00:42:16+00:00","cve":"CVE-2022-23514","urls":{"html":"https://cve.report/CVE-2022-23514","api":"https://cve.report/api/cve/CVE-2022-23514.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23514","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23514"},"summary":{"title":"CVE-2022-23514","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-12-14 14:15:00","updated_at":"2023-09-13 17:15:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://hackerone.com/reports/1684163","name":"https://hackerone.com/reports/1684163","refsource":"MISC","tags":[],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","name":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","refsource":"MISC","tags":[],"title":"Inefficient Regular Expression Complexity in Loofah · Advisory · flavorjones/loofah · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3565-1] ruby-loofah security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23514","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23514","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23514","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"loofah_project","cpe5":"loofah","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-23514","qid":"182816","title":"Debian Security Update for ruby-loofah (CVE-2022-23514)"},{"cve":"CVE-2022-23514","qid":"241405","title":"Red Hat Update for Satellite 6.13 (RHSA-2023:2097)"},{"cve":"CVE-2022-23514","qid":"6000028","title":"Debian Security Update for ruby-loofah (DLA 3565-1)"},{"cve":"CVE-2022-23514","qid":"960924","title":"Rocky Linux Security Update for Satellite (RLSA-2023:2097)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-23514","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-1333: Inefficient Regular Expression Complexity","cweId":"CWE-1333"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"flavorjones","product":{"product_data":[{"product_name":"loofah","version":{"version_data":[{"version_affected":"=","version_value":"< 2.19.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh","refsource":"MISC","name":"https://github.com/flavorjones/loofah/security/advisories/GHSA-486f-hjj9-9vhh"},{"url":"https://hackerone.com/reports/1684163","refsource":"MISC","name":"https://hackerone.com/reports/1684163"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00011.html"}]},"source":{"advisory":"GHSA-486f-hjj9-9vhh","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2022-12-14 14:15:00","lastModifiedDate":"2023-09-13 17:15:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:loofah_project:loofah:*:*:*:*:*:ruby:*:*","versionEndExcluding":"2.19.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23514","Ordinal":"226339","Title":"CVE-2022-23514","CVE":"CVE-2022-23514","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23514","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}