← 취약점·업데이트

보통취약점 권고RubyRuby on Rails

rails-html-sanitizer: Possible regular expression denial of service with certain configurations

영향

패키지영향받는 버전수정 버전
rubygems:rails-html-sanitizer>= 1.0.3, < 1.7.21.7.2

Rails::HTML::PermitScrubber restricts the href and xlink:href attributes of SVG reference elements to local references. That check matched the attribute value against /^\s[^#\s]./m. In Ruby ^ anchors to every line start and \s matches newlines, so an all-whitespace value made the engine rescan the value from each of its line starts, taking time quadratic in its length. - Versions affected: >= 1.0.3, < 1.7.2 - Not affected: < 1.0.3 - Fixed versions: 1.7.2 Only Ruby 3.1 and earlier are affected.…

GitHub Advisory Database에서 읽기

2026. 11. 14. 오전 02:54, GitHub Advisory Database에서 "rails-html-sanitizer: Possible regular expression denial of service with certain configurations"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: Ruby, Ruby on Rails. CVE: CVE-2026-128068.