<div class="container">
    <h1>Security update for golang-github-prometheus-prometheus</h1>

    <table class="table table-striped table-bordered">
        <tbody>
        <tr>
            <th>Announcement ID:</th>
            <td>SUSE-SU-2023:2598-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=1204023">bsc#1204023</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1208049">bsc#1208049</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1208298">bsc#1208298</a>
                        </li>
                    
                    
                        <li style="display: inline;">
                            <a href="https://jira.suse.com/browse/MSQA-665">jsc#MSQA-665</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://jira.suse.com/browse/PED-3576">jsc#PED-3576</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-41715.html">CVE-2022-41715</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://www.suse.com/security/cve/CVE-2022-41723.html">CVE-2022-41723</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://www.suse.com/security/cve/CVE-2022-46146.html">CVE-2022-46146</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-41715</span>
                                <span class="cvss-source">
                                    (
                                    
                                        SUSE
                                    
                                    ):
                                </span>
                                <span class="cvss-score">6.2</span>
                                <span class="cvss-vector">CVSS:3.1/AV:L/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-41715</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-41723</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:N/I:N/A:H</span>
                            </li>
                        
                            <li class="list-group-item">
                                <span class="cvss-reference">CVE-2022-41723</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-46146</span>
                                <span class="cvss-source">
                                    (
                                    
                                        SUSE
                                    
                                    ):
                                </span>
                                <span class="cvss-score">8.8</span>
                                <span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</span>
                            </li>
                        
                            <li class="list-group-item">
                                <span class="cvss-reference">CVE-2022-46146</span>
                                <span class="cvss-source">
                                    (
                                    
                                        NVD
                                    
                                    ):
                                </span>
                                <span class="cvss-score">8.8</span>
                                <span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</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 Desktop 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Micro 5.5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP5</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 SP5</li>
                    
                        <li class="list-group-item">SUSE Manager Proxy 4.2</li>
                    
                        <li class="list-group-item">SUSE Manager Proxy 4.2 Module 4.2</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.2</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 three vulnerabilities and contains two features can now be installed.</p>

    


    
        <h2>Description:</h2>
    
    <p>This update for golang-github-prometheus-prometheus fixes the following issues:</p>
<p>golang-github-prometheus-prometheus:</p>
<ul>
<li>Security issues fixed in this version update to 2.37.6:</li>
<li>CVE-2022-46146: Fix basic authentication bypass vulnerability (bsc#1208049, jsc#PED-3576)</li>
<li>CVE-2022-41715: Update our regexp library to fix upstream (bsc#1204023)</li>
<li>CVE-2022-41723: Fixed go issue to avoid quadratic complexity in HPACK decoding (bsc#1208298)</li>
<li>Other non-security bugs fixed and changes in this version update to 2.37.6:    </li>
<li>[BUGFIX] TSDB: Turn off isolation for Head compaction to fix a memory leak.</li>
<li>[BUGFIX] TSDB: Fix &#x27;invalid magic number 0&#x27; error on Prometheus startup.</li>
<li>[BUGFIX] Agent: Fix validation of flag options and prevent WAL from growing more than desired.</li>
<li>[BUGFIX] Properly close file descriptor when logging unfinished queries.</li>
<li>[BUGFIX] TSDB: In the WAL watcher metrics, expose the type="exemplar" label instead of type="unknown" for exemplar
    records.</li>
<li>[BUGFIX] Alerting: Fix Alertmanager targets not being updated when alerts were queued.</li>
<li>[BUGFIX] Hetzner SD: Make authentication files relative to Prometheus config file.</li>
<li>[BUGFIX] Promtool: Fix promtool check config not erroring properly on failures.</li>
<li>[BUGFIX] Scrape: Keep relabeled scrape interval and timeout on reloads.</li>
<li>[BUGFIX] TSDB: Don&#x27;t increment prometheus_tsdb_compactions_failed_total when context is canceled.</li>
<li>[BUGFIX] TSDB: Fix panic if series is not found when deleting series.</li>
<li>[BUGFIX] TSDB: Increase prometheus_tsdb_mmap_chunk_corruptions_total on out of sequence errors.</li>
<li>[BUGFIX] Uyuni SD: Make authentication files relative to Prometheus configuration file and fix default configuration
    values.</li>
<li>[BUGFIX] Fix serving of static assets like fonts and favicon.</li>
<li>[BUGFIX] promtool: Add --lint-fatal option.</li>
<li>[BUGFIX] Changing TotalQueryableSamples from int to int64.</li>
<li>[BUGFIX] tsdb/agent: Ignore duplicate exemplars.</li>
<li>[BUGFIX] TSDB: Fix chunk overflow appending samples at a variable rate.</li>
<li>[BUGFIX] Stop rule manager before TSDB is stopped.</li>
<li>[BUGFIX] Kubernetes SD: Explicitly include gcp auth from k8s.io.</li>
<li>[BUGFIX] Fix OpenMetrics parser to sort uppercase labels correctly.</li>
<li>[BUGFIX] UI: Fix scrape interval and duration tooltip not showing on target page.</li>
<li>[BUGFIX] Tracing/GRPC: Set TLS credentials only when insecure is false.</li>
<li>[BUGFIX] Agent: Fix ID collision when loading a WAL with multiple segments.</li>
<li>[BUGFIX] Remote-write: Fix a deadlock between Batch and flushing the queue.</li>
<li>[BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset.</li>
<li>[BUGFIX] UI: Fix bug that sets the range input to the resolution.</li>
<li>[BUGFIX] TSDB: Fix a query panic when memory-snapshot-on-shutdown is enabled.</li>
<li>[BUGFIX] Parser: Specify type in metadata parser errors.</li>
<li>[BUGFIX] Scrape: Fix label limit changes not applying.</li>
<li>[BUGFIX] Remote-write: Fix deadlock between adding to queue and getting batch.</li>
<li>[BUGFIX] TSDB: Fix panic when m-mapping head chunks onto the disk.</li>
<li>[BUGFIX] Azure SD: Fix a regression when public IP Address isn&#x27;t set.</li>
<li>[BUGFIX] Azure SD: Fix panic when public IP Address isn&#x27;t set.</li>
<li>[BUGFIX] Remote-write: Fix deadlock when stopping a shard.</li>
<li>[BUGFIX] SD: Fix no such file or directory in K8s SD when not running inside K8s.</li>
<li>[BUGFIX] Promtool: Make exit codes more consistent.</li>
<li>[BUGFIX] Promtool: Fix flakiness of rule testing.</li>
<li>[BUGFIX] Remote-write: Update prometheus_remote_storage_queue_highest_sent_timestamp_seconds metric when write
    irrecoverably fails.</li>
<li>[BUGFIX] Storage: Avoid panic in BufferedSeriesIterator.</li>
<li>[BUGFIX] TSDB: CompactBlockMetas should produce correct mint/maxt for overlapping blocks.</li>
<li>[BUGFIX] TSDB: Fix logging of exemplar storage size.</li>
<li>[BUGFIX] UI: Fix overlapping click targets for the alert state checkboxes.</li>
<li>[BUGFIX] UI: Fix Unhealthy filter on target page to actually display only Unhealthy targets.</li>
<li>[BUGFIX] UI: Fix autocompletion when expression is empty.</li>
<li>[BUGFIX] TSDB: Fix deadlock from simultaneous GC and write.</li>
<li>[CHANGE] TSDB: Delete *.tmp WAL files when Prometheus starts.</li>
<li>[CHANGE] promtool: Add new flag --lint (enabled by default) for the commands check rules and check config, resulting
    in a new exit code (3) for linter errors.</li>
<li>[CHANGE] UI: Classic UI removed.</li>
<li>[CHANGE] Tracing: Migrate from Jaeger to OpenTelemetry based tracing.</li>
<li>[CHANGE] PromQL: Promote negative offset and @ modifer to stable features.</li>
<li>[CHANGE] Web: Promote remote-write-receiver to stable.</li>
<li>[FEATURE] Nomad SD: New service discovery for Nomad built-in service discovery.</li>
<li>[FEATURE] Add lowercase and uppercase relabel action.</li>
<li>[FEATURE] SD: Add IONOS Cloud integration.</li>
<li>[FEATURE] SD: Add Vultr integration.</li>
<li>[FEATURE] SD: Add Linode SD failure count metric.</li>
<li>[FEATURE] Add prometheus_ready metric.</li>
<li>[FEATURE] Support for automatically setting the variable GOMAXPROCS to the container CPU limit. 
    Enable with the flag <code>--enable-feature=auto-gomaxprocs</code>.</li>
<li>[FEATURE] PromQL: Extend statistics with total and peak number of samples in a query. 
    Additionally, per-step statistics are available with --enable-feature=promql-per-step-stats and using
    stats=all in the query API. Enable with the flag <code>--enable-feature=per-step-stats</code>.</li>
<li>[FEATURE] Config: Add stripPort template function.</li>
<li>[FEATURE] Promtool: Add cardinality analysis to check metrics, enabled by flag --extended.</li>
<li>[FEATURE] SD: Enable target discovery in own K8s namespace.</li>
<li>[FEATURE] SD: Add provider ID label in K8s SD.</li>
<li>[FEATURE] Web: Add limit field to the rules API.</li>
<li>[ENHANCEMENT] Kubernetes SD: Allow attaching node labels for endpoint role.</li>
<li>[ENHANCEMENT] PromQL: Optimise creation of signature with/without labels.</li>
<li>[ENHANCEMENT] TSDB: Memory optimizations.</li>
<li>[ENHANCEMENT] TSDB: Reduce sleep time when reading WAL.</li>
<li>[ENHANCEMENT] OAuth2: Add appropriate timeouts and User-Agent header.</li>
<li>[ENHANCEMENT] Add stripDomain to template function.</li>
<li>[ENHANCEMENT] UI: Enable active search through dropped targets.</li>
<li>[ENHANCEMENT] promtool: support matchers when querying label</li>
<li>[ENHANCEMENT] Add agent mode identifier.</li>
<li>[ENHANCEMENT] TSDB: more efficient sorting of postings read from WAL at startup.</li>
<li>[ENHANCEMENT] Azure SD: Add metric to track Azure SD failures.</li>
<li>[ENHANCEMENT] Azure SD: Add an optional resource_group configuration.</li>
<li>[ENHANCEMENT] Kubernetes SD: Support discovery.k8s.io/v1
    EndpointSlice (previously only discovery.k8s.io/v1beta1
    EndpointSlice was supported).</li>
<li>[ENHANCEMENT] Kubernetes SD: Allow attaching node metadata to discovered pods.</li>
<li>[ENHANCEMENT] OAuth2: Support for using a proxy URL to fetch OAuth2 tokens.</li>
<li>[ENHANCEMENT] Configuration: Add the ability to disable HTTP2.</li>
<li>[ENHANCEMENT] Config: Support overriding minimum TLS version.</li>
<li>[ENHANCEMENT] TSDB: Disable the chunk write queue by default and allow configuration with the experimental flag
    <code>--storage.tsdb.head-chunks-write-queue-size</code>.</li>
<li>[ENHANCEMENT] HTTP SD: Add a failure counter.</li>
<li>[ENHANCEMENT] Azure SD: Set Prometheus User-Agent on requests.</li>
<li>[ENHANCEMENT] Uyuni SD: Reduce the number of logins to Uyuni.</li>
<li>[ENHANCEMENT] Scrape: Log when an invalid media type is encountered during a scrape.</li>
<li>[ENHANCEMENT] Scrape: Accept application/openmetrics-text;version=1.0.0 in addition to version=0.0.1.</li>
<li>[ENHANCEMENT] Remote-read: Add an option to not use external labels as selectors for remote read.</li>
<li>[ENHANCEMENT] UI: Optimize the alerts page and add a search bar.</li>
<li>[ENHANCEMENT] UI: Improve graph colors that were hard to see.</li>
<li>[ENHANCEMENT] Config: Allow escaping of $ with $$ when using environment variables with external labels.</li>
<li>[ENHANCEMENT] Remote-write: Avoid allocations by buffering concrete structs instead of interfaces.</li>
<li>[ENHANCEMENT] Remote-write: Log time series details for out-of-order samples in remote write receiver.</li>
<li>[ENHANCEMENT] Remote-write: Shard up more when backlogged.</li>
<li>[ENHANCEMENT] TSDB: Use simpler map key to improve exemplar ingest performance.</li>
<li>[ENHANCEMENT] TSDB: Avoid allocations when popping from the intersected postings heap.</li>
<li>[ENHANCEMENT] TSDB: Make chunk writing non-blocking, avoiding latency spikes in remote-write.</li>
<li>[ENHANCEMENT] TSDB: Improve label matching performance.</li>
<li>[ENHANCEMENT] UI: Optimize the service discovery page and add a search bar.</li>
<li>[ENHANCEMENT] UI: Optimize the target page and add a search bar.</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-2598=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                openSUSE Leap 15.5
                
                    
                        <br/>
                        <code>zypper in -t patch openSUSE-SLE-15.5-2023-2598=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-2023-2598=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                SUSE Manager Proxy 4.2 Module 4.2
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-Module-SUSE-Manager-Proxy-4.2-2023-2598=1</code>
                    
                    
                
            </li>
        
            <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-2023-2598=1</code>
                    
                    
                
            </li>
        
    </ul>

    <h2>Package List:</h2>
    <ul>
        
            
                <li>
                    openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>firewalld-prometheus-config-0.1-150100.4.17.1</li>
                        
                            <li>golang-github-prometheus-prometheus-2.37.6-150100.4.17.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>firewalld-prometheus-config-0.1-150100.4.17.1</li>
                        
                            <li>golang-github-prometheus-prometheus-2.37.6-150100.4.17.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Package Hub 15 15-SP5 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>golang-github-prometheus-prometheus-2.37.6-150100.4.17.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Manager Proxy 4.2 Module 4.2 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>golang-github-prometheus-prometheus-2.37.6-150100.4.17.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Manager Proxy 4.3 Module 4.3 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>golang-github-prometheus-prometheus-2.37.6-150100.4.17.1</li>
                        
                    </ul>
                </li>
            
        
    </ul>

    
        <h2>References:</h2>
        <ul>
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2022-41715.html">https://www.suse.com/security/cve/CVE-2022-41715.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2022-41723.html">https://www.suse.com/security/cve/CVE-2022-41723.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2022-46146.html">https://www.suse.com/security/cve/CVE-2022-46146.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1204023">https://bugzilla.suse.com/show_bug.cgi?id=1204023</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1208049">https://bugzilla.suse.com/show_bug.cgi?id=1208049</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1208298">https://bugzilla.suse.com/show_bug.cgi?id=1208298</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://jira.suse.com/browse/MSQA-665">https://jira.suse.com/browse/MSQA-665</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://jira.suse.com/browse/PED-3576">https://jira.suse.com/browse/PED-3576</a>
                    </li>
                
            
        </ul>
    
</div>