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
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 40% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 92.5%
- KEV
- Not listed
Published
February 15, 2022
Last Modified
November 21, 2024
References (44)
- security-advisories@githubhttps://github.com/prometheus/client_golang/pull/962
- security-advisories@githubhttps://github.com/prometheus/client_golang/pull/987
- security-advisories@githubhttps://github.com/prometheus/client_golang/releases/tag/v1.11.1
- security-advisories@githubhttps://github.com/prometheus/client_golang/security/advisories/GHSA-cg3q-j54f-5p7p
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2IK53GWZ475OQ6ENABKMJMTOBZG6LXUR/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3L6GDN5S5QZSCFKWD3GKL2RDZQ6B4UWA/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5OGNAFVXSMTTT2UPH6CS3IH6L3KM42Q7/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7V7I72LSQ3IET3QJR6QPAVGJZ4CBDLN5/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AK7CJBCGERCRXYUR2EWDSSDVAQMTAZGX/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FY3N7H6VSDZM37B4SKM2PFFCUWU7QYWN/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
Vendor Advisories for CVE-2022-21698(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2022-21698Microsoft Security Response Center (MSRC)
CVE-2022-21698
- RHSA-2026:0722Red Hat Product SecurityHigh
Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.4 security update
- RHSA-2025:23528Red Hat Product SecurityHigh
Red Hat Security Advisory: multicluster engine for Kubernetes 2.6 security update
- RHSA-2025:22684Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.12.6 security update
- RHSA-2025:22683Red Hat Product SecurityMedium
Red Hat Security Advisory: multicluster engine for Kubernetes v2.7.7 security update
- RHSA-2024:4631Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.15.0 release
- RHSA-2024:2944Red Hat Product SecurityHigh
Red Hat Security Advisory: AMQ Broker 7.12.0.OPR.1.GA Container Images release and security update
- RHSA-2024:0564Red Hat Product SecurityMedium
Red Hat Security Advisory: container-tools:3.0 security update
- +12 more
Patch Availability(29)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/prometheus/client_golang | — | 1.11.1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(22)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHBA-2022:5876MODERATE2022-02-15
RHBA-2022:5876 — Moderate
- Red HatRHSA-2022:1356MODERATE2022-02-15
RHSA-2022:1356 — Moderate
- Red HatRHSA-2022:1461MODERATE2022-02-15
RHSA-2022:1461 — Moderate
- Red HatRHSA-2022:1762MODERATE2022-02-15
RHSA-2022:1762 — Moderate
- Red HatRHSA-2022:2216MODERATE2022-02-15
RHSA-2022:2216 — Moderate
- Red HatRHSA-2022:2217MODERATE2022-02-15
RHSA-2022:2217 — Moderate
- Red HatRHSA-2022:2218MODERATE2022-02-15
RHSA-2022:2218 — Moderate
- Red HatRHSA-2022:2280MODERATE2022-02-15
RHSA-2022:2280 — Moderate
- Red HatRHSA-2022:4667MODERATE2022-02-15
RHSA-2022:4667 — Moderate
- Red HatRHSA-2022:5026MODERATE2022-02-15
RHSA-2022:5026 — Moderate
- Red HatRHSA-2022:5068MODERATE2022-02-15
RHSA-2022:5068 — Moderate
- Red HatRHSA-2022:5069MODERATE2022-02-15
RHSA-2022:5069 — Moderate
- Red HatRHSA-2022:5070MODERATE2022-02-15
RHSA-2022:5070 — Moderate
- Red HatRHSA-2022:6040MODERATE2022-02-15
RHSA-2022:6040 — Moderate
- Red HatRHSA-2022:6042MODERATE2022-02-15
RHSA-2022:6042 — Moderate
- Red HatRHSA-2022:6051MODERATE2022-02-15
RHSA-2022:6051 — Moderate
- Red HatRHSA-2022:6061MODERATE2022-02-15
RHSA-2022:6061 — Moderate
- Red HatRHSA-2022:6066MODERATE2022-02-15
RHSA-2022:6066 — Moderate
- Red HatRHSA-2022:6156MODERATE2022-02-15
RHSA-2022:6156 — Moderate
- Red HatRHSA-2022:6290MODERATE2022-02-15
RHSA-2022:6290 — Moderate
- Red HatRHSA-2022:6430MODERATE2022-02-15
RHSA-2022:6430 — Moderate
- Red HatRHSA-2022:7261MODERATE2022-02-15
RHSA-2022:7261 — Moderate
Data Freshness Timeline
(refreshed 8× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-29 20:53 UTCOSV refresh
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
Show 54 moreShow fewer
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 09:10 UTCOSV refresh
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 03:01 UTCEG score recompute
- 2026-05-26 03:01 UTCVendor advisory
- 2026-05-23 23:53 UTCOSV refresh
Frequently asked(5)
What is CVE-2022-21698?
When was CVE-2022-21698 disclosed?
Is CVE-2022-21698 actively exploited?
What is the CVSS score of CVE-2022-21698?
How do I remediate CVE-2022-21698?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-21698
Is Your Infrastructure Affected by CVE-2022-21698?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.