CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2022-21698

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.
Publish Date : 2022-02-15 Last Update Date : 2022-12-09
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.0
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact None (There is no impact to the integrity of the system)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Denial Of Service
CWE ID 400

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2022:1762: container-tools:rhel8 security, bug fix, and enhancement update (Important) oval:com.redhat.rhsa:def:20221762 unix
RHSA-2022:7519: grafana security, bug fix, and enhancement update (Moderate) oval:com.redhat.rhsa:def:20227519 unix
RHSA-2022:7529: container-tools:3.0 security update (Moderate) oval:com.redhat.rhsa:def:20227529 unix
RHSA-2022:8057: grafana security, bug fix, and enhancement update (Important) oval:com.redhat.rhsa:def:20228057 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2022-21698

# Product Type Vendor Product Version Update Edition Language
1 Application Fedoraproject Extra Packages For Enterprise Linux 7.0 * * * Version Details Vulnerabilities
2 Application Fedoraproject Extra Packages For Enterprise Linux 8.0 * * * Version Details Vulnerabilities
3 OS Fedoraproject Fedora 34 * * * Version Details Vulnerabilities
4 OS Fedoraproject Fedora 35 * * * Version Details Vulnerabilities
5 OS Fedoraproject Fedora 36 * * * Version Details Vulnerabilities
6 OS Fedoraproject Fedora 37 * * * Version Details Vulnerabilities
7 Application Prometheus Client Golang * * * * Version Details Vulnerabilities
8 Application Rdo Project RDO - * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Fedoraproject Extra Packages For Enterprise Linux 2
Fedoraproject Fedora 4
Prometheus Client Golang 1
Rdo Project RDO 1

- References For CVE-2022-21698

https://lists.fedoraproject.org/archives/list/[email protected]/message/FY3N7H6VSDZM37B4SKM2PFFCUWU7QYWN/
FEDORA FEDORA-2022-5f253807ce
https://lists.fedoraproject.org/archives/list/[email protected]/message/2IK53GWZ475OQ6ENABKMJMTOBZG6LXUR/
FEDORA FEDORA-2022-396c568c5e
https://lists.fedoraproject.org/archives/list/[email protected]/message/MH6ALXEQXIFQRQFNJ5Y2MJ5DFPIX76VN/
FEDORA FEDORA-2022-92ef43c439
https://lists.fedoraproject.org/archives/list/[email protected]/message/DLUJZV3HBP56ADXU6QH2V7RNYUPMVBXQ/
FEDORA FEDORA-2022-5e637f6cc6
https://lists.fedoraproject.org/archives/list/[email protected]/message/7V7I72LSQ3IET3QJR6QPAVGJZ4CBDLN5/
FEDORA FEDORA-2022-a7d438b30b
https://lists.fedoraproject.org/archives/list/[email protected]/message/4KDETHL5XCT6RZN2BBNOCEXRZ2W3SFU3/
FEDORA FEDORA-2022-2067702f06
https://lists.fedoraproject.org/archives/list/[email protected]/message/J5WPM42UR6XIBQNQPNQHM32X7S4LJTRX/
FEDORA FEDORA-2022-c87047f163
https://github.com/prometheus/client_golang/pull/962
https://github.com/prometheus/client_golang/releases/tag/v1.11.1
https://lists.fedoraproject.org/archives/list/[email protected]/message/ZY2SLWOQR4ZURQ7UBRZ7JIX6H6F5JHJR/
FEDORA FEDORA-2022-fae3ecee19
https://lists.fedoraproject.org/archives/list/[email protected]/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
FEDORA FEDORA-2022-83405f9d5b
https://github.com/prometheus/client_golang/security/advisories/GHSA-cg3q-j54f-5p7p CONFIRM
https://lists.fedoraproject.org/archives/list/[email protected]/message/KBMVIQFKQDSSTHVVJWJ4QH6TW3JVB7XZ/
FEDORA FEDORA-2022-e244ad73d6
https://lists.fedoraproject.org/archives/list/[email protected]/message/AK7CJBCGERCRXYUR2EWDSSDVAQMTAZGX/
FEDORA FEDORA-2022-eda0e65b01
https://lists.fedoraproject.org/archives/list/[email protected]roject.org/message/3L6GDN5S5QZSCFKWD3GKL2RDZQ6B4UWA/
FEDORA FEDORA-2022-741325e9a0
https://lists.fedoraproject.org/archives/list/[email protected]/message/ZKORFJTRRDJCWBTJPISKKCVMMMJBIRLG/
FEDORA FEDORA-2022-6c4cb64314
https://lists.fedoraproject.org/archives/list/[email protected]/message/RN7JGC2LVHPEGSJYODFUV5FEKPBVG4D7/
FEDORA FEDORA-2022-739c7a0058
https://lists.fedoraproject.org/archives/list/[email protected]/message/SASRKYHT5ZFSVMJUQUG3UAEQRJYGJKAR/
FEDORA FEDORA-2022-6043a7b938
https://github.com/prometheus/client_golang/pull/987
https://lists.fedoraproject.org/archives/list/[email protected]/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
FEDORA FEDORA-2022-9dd03cab55
https://lists.fedoraproject.org/archives/list/[email protected]/message/5OGNAFVXSMTTT2UPH6CS3IH6L3KM42Q7/
FEDORA FEDORA-2022-13ad572b5a
https://lists.fedoraproject.org/archives/list/[email protected]/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
FEDORA FEDORA-2022-c5383675d9

- Metasploit Modules Related To CVE-2022-21698

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.