openSUSE-SU-2021:2664-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2021:2664-1.json
JSON Data
https://api.osv.dev/v1/vulns/openSUSE-SU-2021:2664-1
Related
Published
2021-08-12T10:02:49Z
Modified
2021-08-12T10:02:49Z
Summary
Security update for golang-github-prometheus-prometheus
Details

This update for golang-github-prometheus-prometheus fixes the following issues:

  • Provide and reload firewalld configuration only for:
    • openSUSE Leap 15.0, 15.1, 15.2
    • SUSE SLE15, SLE15 SP1, SLE15 SP2
  • Upgrade to upstream version 2.27.1 (jsc#SLE-18254)
    • Bugfix:
      • SECURITY: Fix arbitrary redirects under the /new endpoint (CVE-2021-29622, bsc#1186242)
    • Features:
      • Promtool: Retroactive rule evaluation functionality. #7675
      • Configuration: Environment variable expansion for external labels. Behind --enable-feature=expand-external-labels flag. #8649
      • TSDB: Add a flag(--storage.tsdb.max-block-chunk-segment-size) to control the max chunks file size of the blocks for small Prometheus instances.
      • UI: Add a dark theme. #8604
      • AWS Lightsail Discovery: Add AWS Lightsail Discovery. #8693
      • Docker Discovery: Add Docker Service Discovery. #8629
      • OAuth: Allow OAuth 2.0 to be used anywhere an HTTP client is used. #8761
      • Remote Write: Send exemplars via remote write. Experimental and disabled by default. #8296
    • Enhancements:
      • Digital Ocean Discovery: Add metadigitaloceanvpc label. #8642
      • Scaleway Discovery: Read Scaleway secret from a file. #8643
      • Scrape: Add configurable limits for label size and count. #8777
      • UI: Add 16w and 26w time range steps. #8656
      • Templating: Enable parsing strings in humanize functions. #8682
    • Bugfixes:
      • UI: Provide errors instead of blank page on TSDB Status Page. #8654 #8659
      • TSDB: Do not panic when writing very large records to the WAL. #8790
      • TSDB: Avoid panic when mmaped memory is referenced after the file is closed. #8723
      • Scaleway Discovery: Fix nil pointer dereference. #8737
      • Consul Discovery: Restart no longer required after config update with no targets. #8766
  • Add tarball with vendor modules and web assets
  • Uyuni: Read formula data from exporters map
  • Uyuni: Add support for TLS targets
  • Upgrade to upstream version 2.26.0
    • Changes
      • Alerting: Using Alertmanager v2 API by default. #8626
      • Prometheus/Promtool: Binaries are now printing help and usage to stdout instead of stderr. #8542
    • Features
      • Remote: Add support for AWS SigV4 auth method for remotewrite. #8509
      • PromQL: Allow negative offsets. Behind --enable-feature=promql-negative-offset flag. #8487
      • UI: Add advanced auto-completion, syntax highlighting and linting to graph page query input. #8634
    • Enhancements
      • PromQL: Add lastovertime, sgn, clamp functions. #8457
      • Scrape: Add support for specifying type of Authorization header credentials with Bearer by default. #8512
      • Scrape: Add followredirects option to scrape configuration. #8546
      • Remote: Allow retries on HTTP 429 response code for remotewrite. #8237 #8477
      • Remote: Allow configuring custom headers for remoteread. #8516
      • UI: Hitting Enter now triggers new query. #8581
      • UI: Better handling of long rule and names on the /rules and /targets pages. #8608 #8609
      • UI: Add collapse/expand all button on the /targets page. #8486
  • Upgrade to upstream version 2.25.0
    • Features
      • Include a new --enable-feature= flag that enables experimental features.
    • Enhancements
      • Add optional name property to testgroup for better test failure output. #8440
      • Add warnings into React Panel on the Graph page. #8427
      • TSDB: Increase the number of buckets for the compaction duration metric. #8342
      • Remote: Allow passing along custom remote_write HTTP headers. #8416
      • Mixins: Scope grafana configuration. #8332
      • Kubernetes SD: Add endpoint labels metadata. #8273
      • UI: Expose total number of label pairs in head in TSDB stats page. #8343
      • TSDB: Reload blocks every minute, to detect new blocks and enforce retention more often. #8343
    • Bug fixes
      • API: Fix global URL when external address has no port. #8359
      • Deprecate unused flag --alertmanager.timeout. #8407
  • Upgrade to upstream version 2.24.1
    • Enhancements
      • Cache basic authentication results to significantly improve performance of HTTP endpoints.
  • Upgrade to upstream version 2.24.0
    • Features
      • Add TLS and basic authentication to HTTP endpoints. #8316
      • promtool: Add check web-config subcommand to check web config files. #8319
      • promtool: Add tsdb create-blocks-from openmetrics subcommand to backfill metrics data from an OpenMetrics file.
    • Enhancements
      • HTTP API: Fast-fail queries with only empty matchers. #8288
      • HTTP API: Support matchers for labels API. #8301
      • promtool: Improve checking of URLs passed on the command line. #7956
      • SD: Expose IPv6 as a label in EC2 SD. #7086
      • SD: Reuse EC2 client, reducing frequency of requesting credentials. #8311
      • TSDB: Add logging when compaction takes more than the block time range. #8151
      • TSDB: Avoid unnecessary GC runs after compaction. #8276
  • Upgrade to upstream version 2.23.0
    • Changes
      • UI: Make the React UI default. #8142
      • Remote write: The following metrics were removed/renamed in remote write. #6815 > prometheusremotestoragesucceededsamplestotal was removed and prometheusremotestoragesamplestotal was introduced for all the samples attempted to send. > prometheusremotestoragesentbytestotal was removed and replaced with prometheusremotestoragesamplesbytestotal and prometheusremotestoragemetadatabytestotal. > prometheusremotestoragefailedsamplestotal -> prometheusremotestoragesamplesfailedtotal . > prometheusremotestorageretriedsamplestotal -> prometheusremotestoragesamplesretriedtotal. > prometheusremotestoragedroppedsamplestotal -> prometheusremotestoragesamplesdroppedtotal. > prometheusremotestoragependingsamples -> prometheusremotestoragesamplespending.
      • Remote: Do not collect non-initialized timestamp metrics. #8060
    • Enhancements
      • Remote write: Added a metric prometheusremotestoragemaxsamplespersend for remote write. #8102
      • TSDB: Make the snapshot directory name always the same length. #8138
      • TSDB: Create a checkpoint only once at the end of all head compactions. #8067
      • TSDB: Avoid Series API from hitting the chunks. #8050
      • TSDB: Cache label name and last value when adding series during compactions making compactions faster. #8192
      • PromQL: Improved performance of Hash method making queries a bit faster. #8025
      • promtool: tsdb list now prints block sizes. #7993
      • promtool: Calculate mint and maxt per test avoiding unnecessary calculations. #8096
      • SD: Add filtering of services to Docker Swarm SD. #8074
  • Uyuni: hostname label is now set to FQDN instead of IP
  • Update to upstream version 2.22.1
  • Update packaging
    • Remove systemd and shadow hard requirements
    • use systemd-sysusers to configure the user in a dedicated 'system-user-prometheus' subpackage
    • add 'prometheus' package alias
    • Add support for Prometheus exporters proxy
  • Remove prometheus.firewall.xml source file
  • Remove firewalld files. They are installed in the main firewalld package.
References

Affected packages

openSUSE:Leap 15.3 / golang-github-prometheus-prometheus

Package

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

Affected ranges

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

Ecosystem specific

{
    "binaries": [
        {
            "golang-github-prometheus-prometheus": "2.27.1-3.8.1"
        }
    ]
}