SUSE-SU-2023:3714-1: important: Security update for rubygem-rails-html-sanitizer
# Security update for rubygem-rails-html-sanitizer
Announcement ID: SUSE-SU-2023:3714-1
Rating: important
References:
* #1206433
* #1206434
* #1206435
* #1206436
Cross-References:
* CVE-2022-23517
* CVE-2022-23518
* CVE-2022-23519
* CVE-2022-23520
CVSS scores:
* CVE-2022-23517 ( SUSE ): 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
* CVE-2022-23517 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
* CVE-2022-23518 ( SUSE ): 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
* CVE-2022-23518 ( NVD ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
* CVE-2022-23518 ( NVD ): 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
* CVE-2022-23519 ( SUSE ): 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
* CVE-2022-23519 ( NVD ): 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
* CVE-2022-23520 ( SUSE ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
* CVE-2022-23520 ( NVD ): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Products:
* openSUSE Leap 15.4
* openSUSE Leap 15.5
* SUSE Linux Enterprise High Availability Extension 15 SP1
* SUSE Linux Enterprise High Availability Extension 15 SP2
* SUSE Linux Enterprise High Availability Extension 15 SP3
* SUSE Linux Enterprise High Availability Extension 15 SP4
* SUSE Linux Enterprise High Availability Extension 15 SP5
* SUSE Linux Enterprise High Performance Computing 15 SP1
* SUSE Linux Enterprise High Performance Computing 15 SP2
* SUSE Linux Enterprise High Performance Computing 15 SP3
* SUSE Linux Enterprise High Performance Computing 15 SP4
* SUSE Linux Enterprise High Performance Computing 15 SP5
* SUSE Linux Enterprise Server 15 SP1
* SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1
* SUSE Linux Enterprise Server 15 SP2
* SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
* SUSE Linux Enterprise Server 15 SP3
* SUSE Linux Enterprise Server 15 SP3 Business Critical Linux 15-SP3
* SUSE Linux Enterprise Server 15 SP4
* SUSE Linux Enterprise Server 15 SP5
* SUSE Linux Enterprise Server for SAP Applications 15 SP1
* SUSE Linux Enterprise Server for SAP Applications 15 SP2
* SUSE Linux Enterprise Server for SAP Applications 15 SP3
* SUSE Linux Enterprise Server for SAP Applications 15 SP4
* SUSE Linux Enterprise Server for SAP Applications 15 SP5
* SUSE Manager Proxy 4.0
* SUSE Manager Proxy 4.1
* SUSE Manager Proxy 4.2
* SUSE Manager Proxy 4.3
* SUSE Manager Retail Branch Server 4.0
* SUSE Manager Retail Branch Server 4.1
* SUSE Manager Retail Branch Server 4.2
* SUSE Manager Retail Branch Server 4.3
* SUSE Manager Server 4.0
* SUSE Manager Server 4.1
* SUSE Manager Server 4.2
* SUSE Manager Server 4.3
An update that solves four vulnerabilities can now be installed.
## Description:
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)
## Patch Instructions:
To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
* openSUSE Leap 15.4
zypper in -t patch openSUSE-SLE-15.4-2023-3714=1
* openSUSE Leap 15.5
zypper in -t patch openSUSE-SLE-15.5-2023-3714=1
* SUSE Linux Enterprise High Availability Extension 15 SP1
zypper in -t patch SUSE-SLE-Product-HA-15-SP1-2023-3714=1
* SUSE Linux Enterprise High Availability Extension 15 SP2
zypper in -t patch SUSE-SLE-Product-HA-15-SP2-2023-3714=1
* SUSE Linux Enterprise High Availability Extension 15 SP3
zypper in -t patch SUSE-SLE-Product-HA-15-SP3-2023-3714=1
* SUSE Linux Enterprise High Availability Extension 15 SP4
zypper in -t patch SUSE-SLE-Product-HA-15-SP4-2023-3714=1
* SUSE Linux Enterprise High Availability Extension 15 SP5
zypper in -t patch SUSE-SLE-Product-HA-15-SP5-2023-3714=1
## Package List:
* openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-doc-1.0.4-150000.4.6.1
* ruby2.5-rubygem-rails-html-sanitizer-testsuite-1.0.4-150000.4.6.1
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-doc-1.0.4-150000.4.6.1
* ruby2.5-rubygem-rails-html-sanitizer-testsuite-1.0.4-150000.4.6.1
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* SUSE Linux Enterprise High Availability Extension 15 SP1 (aarch64 ppc64le
s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* SUSE Linux Enterprise High Availability Extension 15 SP2 (aarch64 ppc64le
s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* SUSE Linux Enterprise High Availability Extension 15 SP3 (aarch64 ppc64le
s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* SUSE Linux Enterprise High Availability Extension 15 SP4 (aarch64 ppc64le
s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
* SUSE Linux Enterprise High Availability Extension 15 SP5 (aarch64 ppc64le
s390x x86_64)
* ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1
## References:
* https://www.suse.com/security/cve/CVE-2022-23517.html
* https://www.suse.com/security/cve/CVE-2022-23518.html
* https://www.suse.com/security/cve/CVE-2022-23519.html
* https://www.suse.com/security/cve/CVE-2022-23520.html
* https://bugzilla.suse.com/show_bug.cgi?id=1206433
* https://bugzilla.suse.com/show_bug.cgi?id=1206434
* https://bugzilla.suse.com/show_bug.cgi?id=1206435
* https://bugzilla.suse.com/show_bug.cgi?id=1206436
A rubygem-rails-html-sanitizer security update has been released for openSUSE Leap 15.4/15.5 and SUSE Linux Enterprise.