<div class="container">
<h1>Security update for rubygem-rails-html-sanitizer</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-SU-2023:3714-1</td>
</tr>
<tr>
<th>Rating:</th>
<td>important</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206433">#1206433</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206434">#1206434</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206435">#1206435</a>
</li>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206436">#1206436</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>
Cross-References:
</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2022-23517.html">CVE-2022-23517</a>
</li>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2022-23518.html">CVE-2022-23518</a>
</li>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2022-23519.html">CVE-2022-23519</a>
</li>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2022-23520.html">CVE-2022-23520</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>CVSS scores:</th>
<td>
<ul class="list-group">
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23517</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">5.3</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23517</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">7.5</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23518</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">7.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23518</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">6.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23518</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">6.1</span>
<span class="cvss-vector">CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23519</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">7.2</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23519</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">7.2</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23520</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">6.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2022-23520</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">6.1</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N</span>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">openSUSE Leap 15.4</li>
<li class="list-group-item">openSUSE Leap 15.5</li>
<li class="list-group-item">SUSE Linux Enterprise High Availability Extension 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise High Availability Extension 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise High Availability Extension 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise High Availability Extension 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise High Availability Extension 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP1 Business Critical Linux 15-SP1</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP3 Business Critical Linux 15-SP3</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP5</li>
<li class="list-group-item">SUSE Manager Proxy 4.0</li>
<li class="list-group-item">SUSE Manager Proxy 4.1</li>
<li class="list-group-item">SUSE Manager Proxy 4.2</li>
<li class="list-group-item">SUSE Manager Proxy 4.3</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.0</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.1</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.2</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.3</li>
<li class="list-group-item">SUSE Manager Server 4.0</li>
<li class="list-group-item">SUSE Manager Server 4.1</li>
<li class="list-group-item">SUSE Manager Server 4.2</li>
<li class="list-group-item">SUSE Manager Server 4.3</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that solves four vulnerabilities can now be installed.</p>
<h2>Description:</h2>
<p>This update for rubygem-rails-html-sanitizer fixes the following issues:</p>
<ul>
<li>CVE-2022-23517: Fixed inefficient regular expression that is susceptible to excessive backtracking when attempting to sanitize certain SVG attributes. (bsc#1206433)</li>
<li>CVE-2022-23518: Fixed XSS via data URIs when used in combination with Loofah. (bsc#1206434)</li>
<li>CVE-2022-23519: Fixed XSS vulnerability with certain configurations of Rails::Html::Sanitizer. (bsc#1206435)</li>
<li>CVE-2022-23520: Fixed XSS vulnerability with certain configurations of Rails::Html::Sanitizer. (bsc#1206436)</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
openSUSE Leap 15.4
<br/>
<code>zypper in -t patch openSUSE-SLE-15.4-2023-3714=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.5
<br/>
<code>zypper in -t patch openSUSE-SLE-15.5-2023-3714=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise High Availability Extension 15 SP1
<br/>
<code>zypper in -t patch SUSE-SLE-Product-HA-15-SP1-2023-3714=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise High Availability Extension 15 SP2
<br/>
<code>zypper in -t patch SUSE-SLE-Product-HA-15-SP2-2023-3714=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise High Availability Extension 15 SP3
<br/>
<code>zypper in -t patch SUSE-SLE-Product-HA-15-SP3-2023-3714=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise High Availability Extension 15 SP4
<br/>
<code>zypper in -t patch SUSE-SLE-Product-HA-15-SP4-2023-3714=1</code>
</li>
<li class="list-group-item">
SUSE Linux Enterprise High Availability Extension 15 SP5
<br/>
<code>zypper in -t patch SUSE-SLE-Product-HA-15-SP5-2023-3714=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-doc-1.0.4-150000.4.6.1</li>
<li>ruby2.5-rubygem-rails-html-sanitizer-testsuite-1.0.4-150000.4.6.1</li>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-doc-1.0.4-150000.4.6.1</li>
<li>ruby2.5-rubygem-rails-html-sanitizer-testsuite-1.0.4-150000.4.6.1</li>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise High Availability Extension 15 SP1 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise High Availability Extension 15 SP2 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise High Availability Extension 15 SP3 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise High Availability Extension 15 SP4 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
<li>
SUSE Linux Enterprise High Availability Extension 15 SP5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>ruby2.5-rubygem-rails-html-sanitizer-1.0.4-150000.4.6.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://www.suse.com/security/cve/CVE-2022-23517.html">https://www.suse.com/security/cve/CVE-2022-23517.html</a>
</li>
<li>
<a href="https://www.suse.com/security/cve/CVE-2022-23518.html">https://www.suse.com/security/cve/CVE-2022-23518.html</a>
</li>
<li>
<a href="https://www.suse.com/security/cve/CVE-2022-23519.html">https://www.suse.com/security/cve/CVE-2022-23519.html</a>
</li>
<li>
<a href="https://www.suse.com/security/cve/CVE-2022-23520.html">https://www.suse.com/security/cve/CVE-2022-23520.html</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206433">https://bugzilla.suse.com/show_bug.cgi?id=1206433</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206434">https://bugzilla.suse.com/show_bug.cgi?id=1206434</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206435">https://bugzilla.suse.com/show_bug.cgi?id=1206435</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1206436">https://bugzilla.suse.com/show_bug.cgi?id=1206436</a>
</li>
</ul>
</div>