SUSE-SU-2023:2182-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2023:2182-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2023:2182-1
Related
Published
2023-05-11T16:51:16Z
Modified
2023-05-11T16:51:16Z
Summary
Security update for SUSE Manager Client Tools
Details

This update fixes the following issues:

prometheus-blackbox_exporter:

  • Security issues fixed:
    • CVE-2022-46146: Fix authentication bypass via cache poisoning (bsc#1208062)
  • Other non-security bugs fixed and changes:
    • Add min_version parameter of tls_config to allow enabling TLS 1.0 and 1.1 (bsc#1209113)
    • On SUSE Linux Enterprise build always with Go >= 1.19 (bsc#1203599)

prometheus-postgres_exporter:

  • Security issues fixed:
    • CVE-2022-46146: Fix authentication bypass via cache poisoning (bsc#1208060)
  • Other non-security bugs fixed and changes:
    • Adapt the systemd service security configuration to be able to start it on for Red Hat Linux Enterprise systems and clones
    • Create the prometheus user for Red Hat Linux Enterprise systems and clones
    • Fix broken log-level for values other than debug (bsc#1208965)

golang-github-prometheus-prometheus:

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

Affected packages

SUSE:Manager Tools 15 / golang-github-prometheus-prometheus

Package

Name
golang-github-prometheus-prometheus
Purl
purl:rpm/suse/golang-github-prometheus-prometheus&distro=SUSE%20Manager%20Tools%2015

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.37.6-150000.3.47.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "firewalld-prometheus-config": "0.1-150000.3.47.2",
            "golang-github-prometheus-prometheus": "2.37.6-150000.3.47.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

SUSE:Manager Tools 15 / prometheus-blackbox_exporter

Package

Name
prometheus-blackbox_exporter
Purl
purl:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Tools%2015

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0-150000.1.17.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "firewalld-prometheus-config": "0.1-150000.3.47.2",
            "golang-github-prometheus-prometheus": "2.37.6-150000.3.47.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

SUSE:Manager Tools 15 / prometheus-postgres_exporter

Package

Name
prometheus-postgres_exporter
Purl
purl:rpm/suse/prometheus-postgres_exporter&distro=SUSE%20Manager%20Tools%2015

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.1-150000.1.11.4

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "firewalld-prometheus-config": "0.1-150000.3.47.2",
            "golang-github-prometheus-prometheus": "2.37.6-150000.3.47.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

SUSE:Manager Tools for SLE Micro 5 / prometheus-blackbox_exporter

Package

Name
prometheus-blackbox_exporter
Purl
purl:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Tools%20for%20SLE%20Micro%205

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0-150000.1.17.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2"
        }
    ]
}

SUSE:Manager Proxy Module 4.2 / prometheus-blackbox_exporter

Package

Name
prometheus-blackbox_exporter
Purl
purl:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Proxy%20Module%204.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0-150000.1.17.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2"
        }
    ]
}

SUSE:Manager Proxy Module 4.3 / prometheus-blackbox_exporter

Package

Name
prometheus-blackbox_exporter
Purl
purl:rpm/suse/prometheus-blackbox_exporter&distro=SUSE%20Manager%20Proxy%20Module%204.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0-150000.1.17.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2"
        }
    ]
}

SUSE:Manager Server Module 4.2 / prometheus-postgres_exporter

Package

Name
prometheus-postgres_exporter
Purl
purl:rpm/suse/prometheus-postgres_exporter&distro=SUSE%20Manager%20Server%20Module%204.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.1-150000.1.11.4

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

openSUSE:Leap 15.4 / golang-github-prometheus-promu

Package

Name
golang-github-prometheus-promu
Purl
purl:rpm/suse/golang-github-prometheus-promu&distro=openSUSE%20Leap%2015.4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.14.0-150000.3.12.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "golang-github-prometheus-promu": "0.14.0-150000.3.12.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

openSUSE:Leap 15.4 / prometheus-blackbox_exporter

Package

Name
prometheus-blackbox_exporter
Purl
purl:rpm/suse/prometheus-blackbox_exporter&distro=openSUSE%20Leap%2015.4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0-150000.1.17.2

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "golang-github-prometheus-promu": "0.14.0-150000.3.12.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}

openSUSE:Leap 15.4 / prometheus-postgres_exporter

Package

Name
prometheus-postgres_exporter
Purl
purl:rpm/suse/prometheus-postgres_exporter&distro=openSUSE%20Leap%2015.4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.1-150000.1.11.4

Ecosystem specific

{
    "binaries": [
        {
            "prometheus-blackbox_exporter": "0.19.0-150000.1.17.2",
            "golang-github-prometheus-promu": "0.14.0-150000.3.12.2",
            "prometheus-postgres_exporter": "0.10.1-150000.1.11.4"
        }
    ]
}