ADVISORIES

SUSE Security Update

SUSE-SU-2023:3714-1

Security update for rubygem-rails-html-sanitizer

Details

This update for rubygem-rails-html-sanitizer fixes the following issues:

  • CVE-2022-23517: Fixed inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. (bsc#1206433)
  • CVE-2022-23518: Fixed XSS via data URIs when used in combination with Loofah. (bsc#1206434)
  • CVE-2022-23519: Fixed XSS vulnerability with certain configurations of Rails::Html::Sanitizer. (bsc#1206435)
  • CVE-2022-23520: Fixed XSS vulnerability with certain configurations of Rails::Html::Sanitizer. (bsc#1206436)

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise High Availability Extension 15 SP1rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
SUSE:Linux Enterprise High Availability Extension 15 SP2rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
SUSE:Linux Enterprise High Availability Extension 15 SP3rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
SUSE:Linux Enterprise High Availability Extension 15 SP4rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
SUSE:Linux Enterprise High Availability Extension 15 SP5rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
openSUSE:Leap 15.4rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)
openSUSE:Leap 15.5rubygem-rails-html-sanitizer
All versions before 1.0.4-150000.4.6.1 (fixed in 1.0.4-150000.4.6.1)

References