{"id":"GO-2022-0322","revision":"58bd706d2cc64f7b899e636c7a594bda","records":[{"revision":"58bd706d2cc64f7b899e636c7a594bda","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0322","aliases":["CVE-2022-21698","GHSA-cg3q-j54f-5p7p"],"title":"Uncontrolled resource consumption in github.com/prometheus/client_golang","description":"The Prometheus client_golang HTTP server is vulnerable to a denial of service attack when handling requests with non-standard HTTP methods.\n\nIn order to be affected, an instrumented software must use any of the promhttp.InstrumentHandler* middleware except RequestsInFlight; not filter any specific methods (e.g GET) before middleware; pass a metric with a \"method\" label name to a middleware; and not have any firewall/LB/proxy that filters away requests with unknown \"method\".","state":0,"publishedAt":"2022-07-15T23:29:02+00:00","modifiedAt":"2026-02-04T02:57:44.554914+00:00","affected":[{"ecosystem":"Go","name":"github.com/prometheus/client_golang","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.11.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/prometheus/client_golang/pull/962"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0322","license":"OSV · upstream source license applies","key":"osv:GO-2022-0322","identifiers":["GO-2022-0322","CVE-2022-21698","GHSA-cg3q-j54f-5p7p"]},"retained":false,"historicalAffected":[]}],"coverage":[]}