CVE-2022-21698
No exploitation reported by the sources we read.
- Published2022-02-15
- WeaknessCWE-400 · CWE-770
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-02-1516:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-21698?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-21698?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 34.x | = 34 | no fix published | NVD |
| 35.x | = 35 | no fix published | NVD |
| 36.x | = 36 | no fix published | NVD |
| 37.x | = 37 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | = 7.0 | no fix published | NVD |
| 8.0 | = 8.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.11 | < 1.11.1 | 1.11.1 | NVD · OSV |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- buildahAlmaLinux:8all versions · fixed in 1.19.9-6.module_el8.7.0+3297+1eb250cfand 1 other package
- buildahAlmaLinux:8all versions · fixed in 1:1.24.2-4.module_el8.6.0+2878+e681bc44and 1 other package
- cockpit-podmanAlmaLinux:8all versions · fixed in 29-2.module_el8.6.0+2876+9ed4eae2
- cockpit-podmanAlmaLinux:8all versions · fixed in 43-1.module_el8.6.0+2877+8e437bf5
- conmonAlmaLinux:8all versions · fixed in 2:2.0.26-3.module_el8.7.0+3297+1eb250cf
- conmonAlmaLinux:8all versions · fixed in 2:2.1.0-1.module_el8.6.0+2877+8e437bf5
- container-selinuxAlmaLinux:8all versions · fixed in 2:2.179.1-1.module_el8.6.0+2878+e681bc44
- container-selinuxAlmaLinux:8all versions · fixed in 2:2.189.0-1.module_el8.6.0+3336+00d107d5
41 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.4 security update
Red Hat Security Advisory: multicluster engine for Kubernetes 2.6 security update
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.12.6 security update
Red Hat Security Advisory: multicluster engine for Kubernetes v2.7.7 security update
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.15.0 release
Red Hat Security Advisory: AMQ Broker 7.12.0.OPR.1.GA Container Images release and security update
37 more advisories
Fix
- Vendor fix Red Hat Product Security RHSA-2026:0722 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.13/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2025:23528 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.11/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2025:22684 · 8 productsBefore you apply this update, make sure all previously released errata that are relevant to your system are applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:22683 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.12/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2024:4631 · 6 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:2944 · 5 productsTo update to the latest image please refer to the AMQ container images in the Red Hat Container catalog.
Advisories and patches
- github.comPatch
- github.comPatch
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-02-15
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2022-21698?
Is CVE-2022-21698 actively exploited?
What is the CVSS score for CVE-2022-21698?
Running prometheus/client_golang? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2023-44487KEVsame product
- CVE-2025-4123same productgrafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect
- CVE-2024-21626same product
- CVE-2026-42508same product
- CVE-2022-41717same product
- CVE-2022-41723same product
- CVE-2022-1227same product
- CVE-2023-3128same product