<div class="container">
<h1>Security update for golang-github-prometheus-alertmanager</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-SU-2024:0512-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=1218838">bsc#1218838</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/MSQA-719">jsc#MSQA-719</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/PED-7353">jsc#PED-7353</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-2023-40577.html">CVE-2023-40577</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-2023-40577</span>
<span class="cvss-source">
(
SUSE
):
</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:H/I:N/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2023-40577</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:H/I:N/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.3</li>
<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 Desktop 15</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15</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 High Performance Computing 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Micro 5.5</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP1</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP2</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP3</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15</li>
<li class="list-group-item">SUSE Linux Enterprise Server 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 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 15 SP6</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15</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 Linux Enterprise Server for SAP Applications 15 SP6</li>
<li class="list-group-item">SUSE Manager Client Tools for SLE 15</li>
<li class="list-group-item">SUSE Manager Proxy 4.3</li>
<li class="list-group-item">SUSE Manager Proxy 4.3 Module 4.3</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.3</li>
<li class="list-group-item">SUSE Package Hub 15 15-SP5</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that solves one vulnerability and contains two features can now be installed.</p>
<h2>Description:</h2>
<p>This update for golang-github-prometheus-alertmanager fixes the following issues:</p>
<p>golang-github-prometheus-alertmanager was updated from version 0.23.0 to 0.26.0 (jsc#PED-7353):</p>
<ul>
<li>Version 0.26.0:</li>
<li>Security fixes:<ul>
<li>CVE-2023-40577: Fix stored XSS via the /api/v1/alerts endpoint in the Alertmanager UI (bsc#1218838)</li>
</ul>
</li>
<li>Other changes and bugs fixed:<ul>
<li>Configuration: Fix empty list of receivers and inhibit_rules would cause the alertmanager to crash</li>
<li>Templating: Fixed a race condition when using the title function. It is now race-safe</li>
<li>API: Fixed duplicate receiver names in the api/v2/receivers API endpoint</li>
<li>API: Attempting to delete a silence now returns the correct status code, 404 instead of 500</li>
<li>Clustering: Fixes a panic when tls_client_config is empty</li>
<li>Webhook: url is now marked as a secret. It will no longer show up in the logs as clear-text</li>
<li>Metrics: New label reason for alertmanager_notifications_failed_total metric to indicate the type of error of the
alert delivery</li>
<li>Clustering: New flag --cluster.label, to help to block any traffic that is not meant for the cluster</li>
<li>Integrations: Add Microsoft Teams as a supported integration</li>
</ul>
</li>
<li>Version 0.25.0:</li>
<li>Fail configuration loading if api_key and api_key_file are defined at the same time</li>
<li>Fix the alertmanager_alerts metric to avoid counting resolved alerts as active. Also added a new
alertmanager_marked_alerts metric that retain the old behavior</li>
<li>Trim contents of Slack API URLs when reading from files</li>
<li>amtool: Avoid panic when the label value matcher is empty</li>
<li>Fail configuration loading if api_url is empty for OpsGenie</li>
<li>Fix email template for resolved notifications</li>
<li>Add proxy_url support for OAuth2 in HTTP client configuration</li>
<li>Reload TLS certificate and key from disk when updated</li>
<li>Add Discord integration</li>
<li>Add Webex integration</li>
<li>Add min_version support to select the minimum TLS version in HTTP client configuration</li>
<li>Add max_version support to select the maximum TLS version in HTTP client configuration</li>
<li>Emit warning logs when truncating messages in notifications</li>
<li>Support HEAD method for the /-/healty and /-/ready endpoints</li>
<li>Add support for reading global and local SMTP passwords from files</li>
<li>UI: Add 'Link' button to alerts in list</li>
<li>UI: Allow to choose the first day of the week as Sunday or Monday</li>
<li>Version 0.24.0:</li>
<li>Fix HTTP client configuration for the SNS receiver</li>
<li>Fix unclosed file descriptor after reading the silences snapshot file</li>
<li>Fix field names for mute_time_intervals in JSON marshaling</li>
<li>Ensure that the root route doesn't have any matchers</li>
<li>Truncate the message's title to 1024 chars to avoid hitting Slack limits</li>
<li>Fix the default HTML email template (email.default.html) to match with the canonical source</li>
<li>Detect SNS FIFO topic based on the rendered value</li>
<li>Avoid deleting and recreating a silence when an update is possible</li>
<li>api/v2: Return 200 OK when deleting an expired silence</li>
<li>amtool: Fix the silence's end date when adding a silence. The end date is (start date + duration) while it used to
be (current time + duration). The new behavior is consistent with the update operation</li>
<li>Add the /api/v2 prefix to all endpoints in the OpenAPI specification and generated client code</li>
<li>Add --cluster.tls-config experimental flag to secure cluster traffic via mutual TLS</li>
<li>Add Telegram integration</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">
SUSE Manager Proxy 4.3 Module 4.3
<br/>
<code>zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.3-2024-512=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.5
<br/>
<code>zypper in -t patch openSUSE-SLE-15.5-2024-512=1</code>
</li>
<li class="list-group-item">
SUSE Manager Client Tools for SLE 15
<br/>
<code>zypper in -t patch SUSE-SLE-Manager-Tools-15-2024-512=1</code>
</li>
<li class="list-group-item">
SUSE Package Hub 15 15-SP5
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-512=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
SUSE Manager Proxy 4.3 Module 4.3 (aarch64 ppc64le s390x x86_64)
<ul>
<li>golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1</li>
</ul>
</li>
<li>
SUSE Manager Client Tools for SLE 15 (aarch64 ppc64le s390x x86_64)
<ul>
<li>golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1</li>
</ul>
</li>
<li>
SUSE Package Hub 15 15-SP5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>golang-github-prometheus-alertmanager-0.26.0-150100.4.19.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://www.suse.com/security/cve/CVE-2023-40577.html">https://www.suse.com/security/cve/CVE-2023-40577.html</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1218838">https://bugzilla.suse.com/show_bug.cgi?id=1218838</a>
</li>
<li>
<a href="https://jira.suse.com/browse/MSQA-719">https://jira.suse.com/browse/MSQA-719</a>
</li>
<li>
<a href="https://jira.suse.com/browse/PED-7353">https://jira.suse.com/browse/PED-7353</a>
</li>
</ul>
</div>