Search for packages
Package details: pkg:deb/debian/golang-github-prometheus-client-golang@0.8.0-1
purl pkg:deb/debian/golang-github-prometheus-client-golang@0.8.0-1
Next non-vulnerable version 1.2.1-3
Latest non-vulnerable version 1.11.0-3
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-tzxf-ndv1-aaan
Aliases:
CVE-2022-21698
GHSA-cg3q-j54f-5p7p
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.
1.2.1-3
Affected by 0 other vulnerabilities.
1.11.0-3
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-06-21T08:57:17.748185+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 36.1.3
2025-04-05T06:13:22.274757+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 36.0.0
2025-02-20T17:08:22.843163+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 35.1.0
2024-04-25T11:57:54.800247+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 34.0.0rc4
2024-01-11T13:55:28.497661+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 34.0.0rc2
2024-01-04T23:28:04.723470+00:00 Debian Importer Affected by VCID-tzxf-ndv1-aaan None 34.0.0rc1