{"id":"DHI-t4wr-grmu-2ej5-ew3x","summary":"client_golang is the instrumentation library for Go applications in Prometheus, and the promhttp package in…","details":"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.","modified":"2026-11-17T11:15:06.585285538Z","published":"2026-11-13T17:03:58Z","upstream":["CVE-2022-21698"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-t4wr-grmu-2ej5-ew3x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21698"},{"type":"ADVISORY","url":"https://github.com/prometheus/client_golang/security/advisories/GHSA-cg3q-j54f-5p7p"},{"type":"ADVISORY","url":"https://github.com/prometheus/client_golang/releases/tag/v1.11.1"},{"type":"ADVISORY","url":"https://github.com/prometheus/client_golang/pull/987"},{"type":"ADVISORY","url":"https://github.com/prometheus/client_golang/pull/962"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-1762.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:1762"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-7519.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:7519"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-7529.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:7529"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2022-8057.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2022:8057"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-21698"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-21698"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cg3q-j54f-5p7p"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2022-0322"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-1546"},{"type":"ADVISORY","url":"https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2023-2113"},{"type":"ADVISORY","url":"https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-rcjv-mgp8-qvmr"},{"type":"FIX","url":"https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2022-1762.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2022-1762.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2022-7519.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2022-7519.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2022-7529.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2022-7529.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2022-8057.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2022-8057.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2022-21698"},{"type":"ADVISORY","url":"https://www.cve.org/CVERecord?id=CVE-2022-21698"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:1762"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:7519"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:7529"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:8057"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2022-21698"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2022-21698"}],"affected":[{"package":{"name":"kubectl-1.33-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-1.33-dev"},"versions":["1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-1.33-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-1.33-fips-dev"},"versions":["1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-1.33-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-1.33-fips"},"versions":["1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-1.33","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-1.33"},"versions":["1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-dev"},"versions":["1.33.12-r0","1.33.12-r1","1.33.12-r2","1.33.12-r3","1.33.12-r4","1.33.12-r5","1.33.12-r6","1.33.13-r0","1.34.8-r0","1.34.8-r1","1.34.8-r2","1.34.8-r3","1.34.8-r4","1.34.8-r5","1.34.8-r6","1.34.9-r0","1.35.5-r0","1.35.5-r1","1.35.5-r2","1.35.5-r3","1.35.5-r4","1.35.5-r5","1.35.5-r6","1.35.6-r0","1.36.1-r0","1.36.1-r1","1.36.1-r2","1.36.1-r3","1.36.1-r4","1.36.1-r5","1.36.1-r6","1.36.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-fips-dev"},"versions":["1.33.12-r0","1.33.12-r1","1.33.12-r2","1.33.12-r3","1.33.12-r4","1.33.12-r5","1.33.12-r6","1.33.13-r0","1.34.8-r0","1.34.8-r1","1.34.8-r2","1.34.8-r3","1.34.8-r4","1.34.8-r5","1.34.8-r6","1.34.9-r0","1.35.5-r0","1.35.5-r1","1.35.5-r2","1.35.5-r3","1.35.5-r4","1.35.5-r5","1.35.5-r6","1.35.6-r0","1.36.1-r0","1.36.1-r1","1.36.1-r2","1.36.1-r3","1.36.1-r4","1.36.1-r5","1.36.1-r6","1.36.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl-fips"},"versions":["1.33.10-r0","1.33.10-r1","1.33.11-r0","1.33.11-r1","1.33.12-r0","1.33.12-r1","1.33.12-r2","1.33.12-r3","1.33.12-r4","1.33.12-r5","1.33.12-r6","1.33.12-r7","1.33.13-r0","1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9","1.33.7-r0","1.33.9-r0","1.33.9-r1","1.33.9-r2","1.34.8-r0","1.34.8-r1","1.34.8-r2","1.34.8-r3","1.34.8-r4","1.34.8-r5","1.34.8-r6","1.34.9-r0","1.35.5-r0","1.35.5-r1","1.35.5-r2","1.35.5-r3","1.35.5-r4","1.35.5-r5","1.35.5-r6","1.35.6-r0","1.36.1-r0","1.36.1-r1","1.36.1-r2","1.36.1-r3","1.36.1-r4","1.36.1-r5","1.36.1-r6","1.36.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}},{"package":{"name":"kubectl","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/kubectl"},"versions":["1.33.10-r0","1.33.10-r1","1.33.11-r0","1.33.11-r1","1.33.12-r0","1.33.12-r1","1.33.12-r2","1.33.12-r3","1.33.12-r4","1.33.12-r5","1.33.12-r6","1.33.12-r7","1.33.13-r0","1.33.13-r1","1.33.13-r10","1.33.13-r11","1.33.13-r12","1.33.13-r13","1.33.13-r14","1.33.13-r2","1.33.13-r3","1.33.13-r4","1.33.13-r5","1.33.13-r6","1.33.13-r7","1.33.13-r8","1.33.13-r9","1.33.7-r0","1.33.9-r0","1.33.9-r1","1.33.9-r2","1.34.8-r0","1.34.8-r1","1.34.8-r2","1.34.8-r3","1.34.8-r4","1.34.8-r5","1.34.8-r6","1.34.9-r0","1.35.5-r0","1.35.5-r1","1.35.5-r2","1.35.5-r3","1.35.5-r4","1.35.5-r5","1.35.5-r6","1.35.6-r0","1.36.1-r0","1.36.1-r1","1.36.1-r2","1.36.1-r3","1.36.1-r4","1.36.1-r5","1.36.1-r6","1.36.2-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-t4wr-grmu-2ej5-ew3x.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}