CVE-2022-23517
Assigner: GitHub_M
Published: 2022-12-14T16:10:22.304Z
State: PUBLISHED
title: Inefficient Regular Expression Complexity in rails-html-sanitizer
problemTypes: descriptions: cweId: CWE-1333
description: CWE-1333: Inefficient Regular Expression Complexity
type: CWE
metrics: cvssV3_1: 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
affected: vendor: rails
product: rails-html-sanitizer
versions: version: < 1.4.4
status: affected
descriptions: value: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Certain configurations of rails-html-sanitizer < 1.4.4 use 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 has been patched in version 1.4.4.
source: advisory: GHSA-5x79-w82f-gw8w
discovery: UNKNOWN