Rapid7 Vulnerability & Exploit Database

Rocky Linux: CVE-2022-21698: grafana (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Rocky Linux: CVE-2022-21698: grafana (Multiple Advisories)

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
02/15/2022
Created
03/07/2024
Added
03/05/2024
Modified
11/15/2024

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.

Solution(s)

  • rocky-upgrade-aardvark-dns
  • rocky-upgrade-buildah
  • rocky-upgrade-buildah-debuginfo
  • rocky-upgrade-buildah-debugsource
  • rocky-upgrade-buildah-tests
  • rocky-upgrade-buildah-tests-debuginfo
  • rocky-upgrade-conmon
  • rocky-upgrade-conmon-debuginfo
  • rocky-upgrade-conmon-debugsource
  • rocky-upgrade-containernetworking-plugins
  • rocky-upgrade-containernetworking-plugins-debuginfo
  • rocky-upgrade-containernetworking-plugins-debugsource
  • rocky-upgrade-containers-common
  • rocky-upgrade-crit
  • rocky-upgrade-criu
  • rocky-upgrade-criu-debuginfo
  • rocky-upgrade-criu-debugsource
  • rocky-upgrade-criu-devel
  • rocky-upgrade-criu-libs
  • rocky-upgrade-criu-libs-debuginfo
  • rocky-upgrade-crun
  • rocky-upgrade-crun-debuginfo
  • rocky-upgrade-crun-debugsource
  • rocky-upgrade-fuse-overlayfs
  • rocky-upgrade-fuse-overlayfs-debuginfo
  • rocky-upgrade-fuse-overlayfs-debugsource
  • rocky-upgrade-grafana
  • rocky-upgrade-grafana-debuginfo
  • rocky-upgrade-libslirp
  • rocky-upgrade-libslirp-debuginfo
  • rocky-upgrade-libslirp-debugsource
  • rocky-upgrade-libslirp-devel
  • rocky-upgrade-netavark
  • rocky-upgrade-oci-seccomp-bpf-hook
  • rocky-upgrade-oci-seccomp-bpf-hook-debuginfo
  • rocky-upgrade-oci-seccomp-bpf-hook-debugsource
  • rocky-upgrade-podman
  • rocky-upgrade-podman-catatonit
  • rocky-upgrade-podman-catatonit-debuginfo
  • rocky-upgrade-podman-debuginfo
  • rocky-upgrade-podman-debugsource
  • rocky-upgrade-podman-gvproxy
  • rocky-upgrade-podman-gvproxy-debuginfo
  • rocky-upgrade-podman-plugins
  • rocky-upgrade-podman-plugins-debuginfo
  • rocky-upgrade-podman-remote
  • rocky-upgrade-podman-remote-debuginfo
  • rocky-upgrade-podman-tests
  • rocky-upgrade-python3-criu
  • rocky-upgrade-runc
  • rocky-upgrade-runc-debuginfo
  • rocky-upgrade-runc-debugsource
  • rocky-upgrade-skopeo
  • rocky-upgrade-skopeo-debuginfo
  • rocky-upgrade-skopeo-debugsource
  • rocky-upgrade-skopeo-tests
  • rocky-upgrade-slirp4netns
  • rocky-upgrade-slirp4netns-debuginfo
  • rocky-upgrade-slirp4netns-debugsource
  • rocky-upgrade-toolbox
  • rocky-upgrade-toolbox-debuginfo
  • rocky-upgrade-toolbox-debugsource
  • rocky-upgrade-toolbox-tests

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;