7.5

CVE-2022-21698: Uncontrolled Resource Consumption in promhttp

Modified
AliasesMGASA-2022-0180SUSE-RU-2022:2145-1SUSE-SU-2022:1433-1
Published 15-02-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-21698 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in fedoraproject extra_packages_for_enterprise_linux. EPSS estimates a 5.99% chance of exploitation in the next 30 days, higher than 93.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 6% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
5.99%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 28 · Related 23

Timeline

  1. 15-02-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

10 scores · 9 sources · 2 versions

EPSS trend

Probability

5.99%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

No change 0.00 pp

From 5.99% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse63 products
  • firewalld&distro=SUSE Linux Enterprise Micro 5.1< 0.9.3-150300.3.6.1
  • firewalld&distro=SUSE Linux Enterprise Micro 5.2< 0.9.3-150300.3.6.1
  • firewalld&distro=SUSE Linux Enterprise Module for Basesystem 15 SP3< 0.9.3-150300.3.6.1
  • firewalld&distro=SUSE Linux Enterprise Module for Desktop Applications 15 SP3< 0.9.3-150300.3.6.1
  • golang-github-boynux-squid_exporter&distro=SUSE Multi Linux Manager Tools SLE-12< 1.13.0-120002.3.6.1
Opensuse11 products
  • firewalld&distro=openSUSE Leap 15.3< 0.9.3-150300.3.6.1
  • golang-github-prometheus-alertmanager&distro=openSUSE Leap 15.3< 0.23.0-150100.4.7.1
  • golang-github-prometheus-alertmanager&distro=openSUSE Leap 15.4< 0.23.0-150100.4.7.1
  • golang-github-prometheus-node_exporter&distro=openSUSE Leap 15.3< 1.3.0-150100.3.12.1 | < 1.3.0-150100.3.18.1
  • golang-github-prometheus-node_exporter&distro=openSUSE Leap 15.4< 1.3.0-150100.3.12.1 | < 1.3.0-150100.3.18.1
Chainguard5 products
  • dynamic-localpv-provisioner< 3.4.1-r3
  • dynamic-localpv-provisioner-fips< 3.5.0-r0
  • harbor-2.14-photon-registryAll versions (No fix recorded) | < 2.14.5-r2 | < 2.14.5-r1
  • harbor-fips-2.14-photon-registryAll versions (No fix recorded) | < 2.14.5-r1 | < 2.14.5-r2
  • prometheus-postgres-exporter-0.10All versions (No fix recorded)
Redhat3 products
  • kubevirt< 0:4.10.1-489.el7 | < 0:4.10.1-489.el8
  • kubevirt-virtctl< 0:4.10.1-489.el7 | < 0:4.10.1-489.el8
  • kubevirt-virtctl-redistributable< 0:4.10.1-489.el7 | < 0:4.10.1-489.el8
Fedoraproject2 products
Alpine1 product
  • buildah< 1.23.4-r0
Debian1 product
  • golang-github-prometheus-client-golang< 1.11.1-1
Github.com/prometheus1 product
  • client_golang< 1.11.1
Mageia1 product
  • golang-github-prometheus-client< 1.11.1-1.mga8
Prometheus1 product
Rdo_project1 product
Ubuntu1 product
  • golang-github-prometheus-client-golangAll versions (No fix recorded)
Wolfi1 product
  • dynamic-localpv-provisioner< 3.4.1-r3

13 vendors · 92 products

References

101 links
Show all 100 references

Showing 100 of 101.