> CVE-2022-21698 [HIGH]

« BACK_TO_HOME
PUBLISHED
2022-02-15 16:15
MODIFIED
2024-11-21 06:45
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
5.99%
Top 6.6%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> 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.

> AFFECTED_PRODUCTS

Fedoraproject - Fedora
Version: 34
Fedoraproject - Fedora
Version: 35
Fedoraproject - Fedora
Version: 36
Fedoraproject - Fedora
Version: 37
Fedoraproject - Extra Packages For Enterprise Linux
Version: 7.0
Fedoraproject - Extra Packages For Enterprise Linux
Version: 8.0
Prometheus - Client Golang
< 1.11.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes 2.12.6 security update
Red Hat Advanced Cluster Management for Kubernetes 2.12 General Availability release images, which add new features and enhancements, bug fixes, and updated container images.
Red Hat Security Advisory: multicluster engine for Kubernetes v2.7.7 security update
The multicluster engine for Kubernetes 2.7 General Availability release images, which add new features and enhancements, bug fixes, and updated container images.
Red Hat Security Advisory: multicluster engine for Kubernetes 2.6 security update
The multicluster engine for Kubernetes 2.6 General Availability release images, which add new features and enhancements, bug fixes, and updated container images.
Red Hat Security Advisory: multicluster engine for Kubernetes v2.8.4 security update
The multicluster engine for Kubernetes 2.8 General Availability release images, which add new features and enhancements, bug fixes, and updated container images.

> GITHUB SECURITY ADVISORY

GHSA-cg3q-j54f-5p7p HIGH

Uncontrolled Resource Consumption in promhttp

AFFECTED PACKAGES:
GO / github.com/prometheus/client_golang
< 1.11.1
Fixed in: 1.11.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Uncontrolled Resource Consumption in promhttp

AFFECTED PACKAGES:
Unknown / Unknown
31 versions affected
ALIASES:
GHSA-cg3q-j54f-5p7p, GO-2022-0322

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/02/2022 16:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:32
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME