CVE & CISA-KEV Catalog

CVE-2022-21698

HIGHEPSS 93th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
golang-github-prometheus-client-golangDebian
Fixed in:1.11.1-1CVE-2022-21698
Fixed in:1.11.1-1CVE-2022-21698
Fixed in:1.11.1-1CVE-2022-21698
amq7/amqRocky
Fixed in:broker-rhel8@sha256:b2aa89fb6eb23d41b1101ef2080a628a51d2a0949395e921247be302ff0e9778_ppc64leRHSA-2024:2944
Fixed in:broker-rhel8@sha256:081c73ec804f236ff0d00d7495a6d1053d1b6161ae7d944c889fc2d1181caa3f_amd64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:25100bd1bb6b113af4e51deb6538ed554340091389ab2639ec77824c6cb0bc15_s390xRHSA-2024:2944
Fixed in:broker-rhel8@sha256:cd306c06c811d5e5c3d1912dd2bf2d08c10e057f1d7c59cba8475e105dd72cf0_arm64RHSA-2024:2944
amq7/amqRed Hat / RHEL
Fixed in:broker-rhel8@sha256:25100bd1bb6b113af4e51deb6538ed554340091389ab2639ec77824c6cb0bc15_s390xRHSA-2024:2944
Fixed in:broker-rhel8@sha256:cd306c06c811d5e5c3d1912dd2bf2d08c10e057f1d7c59cba8475e105dd72cf0_arm64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:081c73ec804f236ff0d00d7495a6d1053d1b6161ae7d944c889fc2d1181caa3f_amd64RHSA-2024:2944
Fixed in:broker-rhel8@sha256:b2aa89fb6eb23d41b1101ef2080a628a51d2a0949395e921247be302ff0e9778_ppc64leRHSA-2024:2944
amq7/amq-brokerRed Hat / RHEL
Fixed in:init-rhel8@sha256:4755cc6d13566065f6fd0b9544001ece5e0424ddbff774420f5be9bbfe03ae9e_amd64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:27deae2dfec99135f1dd3dcfffdaf6167e056e29aa481cb3f78ee36d407181b8_arm64RHSA-2024:2944
Fixed in:init-rhel8@sha256:de1724d437174eefb20ed7dd8981a05607c55cfe8d6ea6667df94fdfdefe6ead_arm64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:7231e51c0f078cd742b12c52c6616f19e669909ebb2fb6e02292173a5def5fab_s390xRHSA-2024:2944
Fixed in:init-rhel8@sha256:e3c7913dc5a441fc38f35081cd405425ec3f4d299d77890db9d57b042f459852_s390xRHSA-2024:2944
Fixed in:rhel8-operator@sha256:a840f54acec50b424b1c4a8d984230777bf042fb98b526d213cbb5b3df023435_ppc64leRHSA-2024:2944
Fixed in:init-rhel8@sha256:3bd3ed2acad8c5792c7222254c8ef09c2eeb4dcfd3e96622fe98f50ce094ca3e_ppc64leRHSA-2024:2944
Fixed in:rhel8-operator@sha256:996d20078a6a4f98f220793bded0b1c7ad08df3a292f26be71e52070fc538367_amd64RHSA-2024:2944
amq7/amq-brokerRocky
Fixed in:rhel8-operator@sha256:996d20078a6a4f98f220793bded0b1c7ad08df3a292f26be71e52070fc538367_amd64RHSA-2024:2944
Fixed in:init-rhel8@sha256:3bd3ed2acad8c5792c7222254c8ef09c2eeb4dcfd3e96622fe98f50ce094ca3e_ppc64leRHSA-2024:2944
Fixed in:rhel8-operator@sha256:a840f54acec50b424b1c4a8d984230777bf042fb98b526d213cbb5b3df023435_ppc64leRHSA-2024:2944
Fixed in:init-rhel8@sha256:e3c7913dc5a441fc38f35081cd405425ec3f4d299d77890db9d57b042f459852_s390xRHSA-2024:2944
Fixed in:rhel8-operator@sha256:7231e51c0f078cd742b12c52c6616f19e669909ebb2fb6e02292173a5def5fab_s390xRHSA-2024:2944
Fixed in:init-rhel8@sha256:de1724d437174eefb20ed7dd8981a05607c55cfe8d6ea6667df94fdfdefe6ead_arm64RHSA-2024:2944
Fixed in:rhel8-operator@sha256:27deae2dfec99135f1dd3dcfffdaf6167e056e29aa481cb3f78ee36d407181b8_arm64RHSA-2024:2944
Fixed in:init-rhel8@sha256:4755cc6d13566065f6fd0b9544001ece5e0424ddbff774420f5be9bbfe03ae9e_amd64RHSA-2024:2944
amq7/amq-broker-rhel8Red Hat / RHEL
Fixed in:operator-bundle@sha256:22ba090595eb88cc56d69c759388310d477e50fd97a4c6fcf3e7eecd94df99f9_amd64RHSA-2024:2944
amq7/amq-broker-rhel8Rocky
Fixed in:operator-bundle@sha256:22ba090595eb88cc56d69c759388310d477e50fd97a4c6fcf3e7eecd94df99f9_amd64RHSA-2024:2944
buildah-0:1.19.9Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
buildah-0:1.19.9Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
buildah-debuginfo-0:1.19.9Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-debuginfo-0:1.19.9Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
buildah-debugsource-0:1.19.9Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-debugsource-0:1.19.9Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-tests-0:1.19.9Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-tests-0:1.19.9Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-tests-debuginfo-0:1.19.9Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
buildah-tests-debuginfo-0:1.19.9Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
cockpit-podman-0:29Rocky
Fixed in:2.module+el8.4.0+21078+a96cfbf6.noarch::container-tools:3.0RHSA-2024:0564
Fixed in:2.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
cockpit-podman-0:29Red Hat / RHEL
Fixed in:2.module+el8.4.0+21078+a96cfbf6.noarch::container-tools:3.0RHSA-2024:0564
Fixed in:2.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
conmon-2:2.0.26Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
conmon-2:2.0.26Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
conmon-debuginfo-2:2.0.26Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
conmon-debuginfo-2:2.0.26Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
conmon-debugsource-2:2.0.26Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
conmon-debugsource-2:2.0.26Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
container-selinux-2:2.167.0Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.noarch::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
container-selinux-2:2.167.0Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.noarch::container-tools:3.0RHSA-2024:0564
containernetworking-plugins-0:0.9.1Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
containernetworking-plugins-0:0.9.1Rocky
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.src::container-tools:3.0RHSA-2024:0564
containernetworking-plugins-debuginfo-0:0.9.1Red Hat / RHEL
Fixed in:1.module+el8.4.0+21078+a96cfbf6.ppc64le::container-tools:3.0RHSA-2024:0564
Fixed in:1.module+el8.4.0+21078+a96cfbf6.x86_64::container-tools:3.0RHSA-2024:0564

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

5.99%probability of exploitation in 30 days
93rdpercentile

High risk: more likely to be exploited than 93% of all known CVEs.

References

Related Vulnerabilities

Other CWE-400 (Resource Exhaustion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-44487High7.5100%KEVFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2011-3192High7.899%-Fix
CVE-2019-11478Medium5.395%-Fix
CVE-2023-21547High7.589%-Fix
CVE-2018-1000115High7.588%-Fix

Common questions

How do I fix CVE-2022-21698?

Published advisories record a fix for 503 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-21698 being actively exploited?

Not that we know of. CVE-2022-21698 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 6.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 93% of all scored CVEs.

How severe is CVE-2022-21698?

CVE-2022-21698 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-21698 affect?

Published advisories record a fix for golang-github-prometheus-client-golang (Debian), amq7/amq (Rocky), amq7/amq (Red Hat / RHEL), amq7/amq-broker (Red Hat / RHEL), and 499 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-21698
CVE-2022-21698 severity badge

Markdown

[![CVE-2022-21698](https://tridentstack.com/cve/badge/CVE-2022-21698.svg)](https://tridentstack.com/cve/CVE-2022-21698)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-21698"><img src="https://tridentstack.com/cve/badge/CVE-2022-21698.svg" alt="CVE-2022-21698"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.