Severity
7.5HIGHNVD
EPSS
0.3%
top 48.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 15
Latest updateDec 3

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 `Re

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages28 packages

debiandebian/golang-github-prometheus-client-golang< golang-github-prometheus-client-golang 1.11.1-1 (bookworm)

Also affects: Fedora 34, 35, 36, 37

Patches

🔴Vulnerability Details

4
OSV
Uncontrolled resource consumption in github.com/prometheus/client_golang2022-07-15
GHSA
Uncontrolled Resource Consumption in promhttp2022-02-16
OSV
Uncontrolled Resource Consumption in promhttp2022-02-16
OSV
CVE-2022-21698: client_golang is the instrumentation library for Go applications in Prometheus, and the promhttp package in client_golang provides tooling around HTTP2022-02-15

📋Vendor Advisories

3
Red Hat
prometheus/client_golang: Denial of service using InstrumentHandlerCounter2022-02-15
Microsoft
Uncontrolled Resource Consumption in promhttp2022-02-08
Debian
CVE-2022-21698: golang-github-prometheus-client-golang - client_golang is the instrumentation library for Go applications in Prometheus, ...2022

📄Research Papers

1
arXiv
A Comprehensive Study on the Impact of Vulnerable Dependencies on Open-Source Software2025-12-03
CVE-2022-21698 — Uncontrolled Resource Consumption | cvebase