Описание
Security update for golang-github-vpenso-prometheus_slurm_exporter
This update for golang-github-vpenso-prometheus_slurm_exporter fixes the following issue:
- CVE-2022-21698: github.com/prometheus/client_golang/prometheus/promhttp: Denial of service using InstrumentHandlerCounter (bsc#1248703).
Changes for golang-github-vpenso-prometheus_slurm_exporter:
- Update to version 1.11.1.
Список пакетов
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS
SUSE Linux Enterprise Module for HPC 15 SP7
SUSE Linux Enterprise Module for Package Hub 15 SP7
SUSE Linux Enterprise Server 15 SP6-LTSS
Ссылки
- Link for SUSE-SU-2026:4106-1
- E-Mail link for SUSE-SU-2026:4106-1
- SUSE Security Ratings
- SUSE Bug 1248703
- SUSE CVE CVE-2022-21698 page
Описание
client_golang is the instrumentation library for Go applications in Prometheus, and the promhttp package in client_golang provides tooling around HTTP servers and clients. In client_golang prior to version 1.11.1, HTTP server is susceptible to a Denial of Service through unbounded cardinality, and potential memory exhaustion, when handling requests with non-standard HTTP methods. In order to be affected, an instrumented software must use any of `promhttp.InstrumentHandler*` middleware except `RequestsInFlight`; not filter any specific methods (e.g GET) before middleware; pass metric with `method` label name to our middleware; and not have any firewall/LB/proxy that filters away requests with unknown `method`. client_golang version 1.11.1 contains a patch for this issue. Several workarounds are available, including removing the `method` label name from counter/gauge used in the InstrumentHandler; turning off affected promhttp handlers; adding custom middleware before promhttp handler that will sanitize the request method given by Go http.Request; and using a reverse proxy or web application firewall, configured to only allow a limited set of methods.
Затронутые продукты
Ссылки
- CVE-2022-21698
- SUSE Bug 1196338
- SUSE Bug 1248689