ADVISORIES

Vulnerability

CVE-2022-21698

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.

92 advisories report this vulnerability, across 13 ecosystems.

Advisories in openSUSE

  • SUSE-SU-2022:1435-1

    Security update for firewalld, golang-github-prometheus-prometheus

    CVE-2022-21698 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2139-1

    Security update for golang-github-prometheus-alertmanager

    CVE-2022-21698 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2140-1

    Security update for node_exporter

    CVE-2022-21698 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2834-1

    Security update for podman

    CVE-2022-1227CVE-2022-21698CVE-2022-27191 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2839-1

    Security update for podman

    CVE-2022-1227CVE-2022-21698CVE-2022-27191 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2022:2839-2

    Security update for podman

    CVE-2022-1227CVE-2022-21698CVE-2022-27191 openSUSE Updated 4 February 2026
  • SUSE-SU-2022:3745-1

    Security update for golang-github-prometheus-node_exporter

    CVE-2022-21698 SUSEopenSUSE Updated 4 February 2026
  • SUSEVEX-CVE-2022-21698

    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…

    Important CVE-2022-21698 SUSEopenSUSE Updated 5 November 2026
  • openSUSE-SU-2024:11965-1

    kubeseal-0.17.4-1.1 on GA media

    CVE-2022-21698 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12259-1

    golang-github-prometheus-node_exporter-1.3.1-2.1 on GA media

    CVE-2022-21698 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12400-1

    podman-4.2.1-2.1 on GA media

    CVE-2022-1227CVE-2022-21698CVE-2022-27191 openSUSE Updated 7 May 2025
  • openSUSE-SU-2026:10634-1

    golang-github-QubitProducts-exporter_exporter-0.4.0-16.1 on GA media

    CVE-2022-21698 openSUSE Updated 29 April 2026
  • openSUSE-SU-2026:10644-1

    prometheus-postgres_exporter-0.10.1-6.1 on GA media

    CVE-2022-21698 openSUSE Updated 29 April 2026
  • openSUSE-SU-2026:12271-1

    kured-1.23.0-1.1 on GA media

    CVE-2022-21698CVE-2025-22872CVE-2025-47911CVE-2026-33814 openSUSE Updated 27 October 2026
  • openSUSE-SU-2026:21379-1

    Security update for ctop

    CVE-2022-21698CVE-2024-45310CVE-2026-10722CVE-2026-33814 openSUSE Updated 22 July 2026

References