ADVISORIES

SUSE VEX

SUSEVEX-CVE-2022-21698

Important No fix available CVE-2022-21698

Details

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.

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise High Performance Computing 15 SP2containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP2containerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP3containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP3containerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSScontainerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSScontainerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSgolang-github-vpenso-prometheus_slurm_exporter
All versions, no fix yet
SUSE:Linux Enterprise High Performance Computing 15 SP6golang-github-vpenso-prometheus_slurm_exporter
All versions, no fix yet
SUSE:Linux Enterprise Module for HPC 15 SP6golang-github-vpenso-prometheus_slurm_exporter
All versions, no fix yet
SUSE:Linux Enterprise Module for Package Hub 15 SP6golang-github-vpenso-prometheus_slurm_exporter
All versions, no fix yet
SUSE:Linux Enterprise Module for Package Hub 15 SP6singularity
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP2containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP2containerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP2-LTSScontainerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP2-LTSScontainerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP3containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP3containerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP3-LTSScontainerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server 15 SP3-LTSScontainerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise Server for SAP Applications 15 SP2containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server for SAP Applications 15 SP2containerized-data-importer-manifests
All versions, no fix yet
SUSE:Linux Enterprise Server for SAP Applications 15 SP3containerized-data-importer
All versions, no fix yet
SUSE:Linux Enterprise Server for SAP Applications 15 SP3containerized-data-importer-manifests
All versions, no fix yet
SUSE:Manager Server LTS 4.3prometheus-postgres_exporter
All versions, no fix yet
SUSE:Multi-Linux Manager Client Tools for SLE Micro 5golang-github-QubitProducts-exporter_exporter
All versions, no fix yet
openSUSE:Leap 15.6golang-github-QubitProducts-exporter_exporter
All versions, no fix yet
openSUSE:Leap 15.6golang-github-vpenso-prometheus_slurm_exporter
All versions, no fix yet
openSUSE:Leap 15.6prometheus-postgres_exporter
All versions, no fix yet
openSUSE:Leap 15.6singularity
All versions, no fix yet

References