CVE Vulnerabilities

CVE-2022-46146

Improper Authentication

Published: Nov 29, 2022 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.

Weakness

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected Software

NameVendorStart VersionEnd Version
Exporter_toolkitPrometheus*0.7.2 (excluding)
Exporter_toolkitPrometheus0.8.0 (including)0.8.2 (excluding)
Red Hat OpenShift Container Platform 4.11RedHatopenshift4/ose-thanos-rhel8:v4.11.0-202308311243.p0.g99b6e03.assembly.stream*
Red Hat OpenShift Container Platform 4.12RedHatopenshift4/ose-thanos-rhel8:v4.12.0-202305022015.p0.g9f2b5ff.assembly.stream*
Red Hat OpenShift Container Platform 4.13RedHatopenshift4/ose-kube-state-metrics:v4.13.0-202304190216.p0.g4b96984.assembly.stream*
Red Hat OpenShift Container Platform 4.13RedHatopenshift4/ose-prometheus:v4.13.0-202305020815.p0.g8279148.assembly.stream*
Red Hat OpenShift Container Platform 4.13RedHatopenshift4/ose-prometheus-alertmanager:v4.13.0-202304190216.p0.gf44d574.assembly.stream*
Red Hat OpenShift Container Platform 4.13RedHatopenshift4/ose-prometheus-node-exporter:v4.13.0-202304190216.p0.g10dc380.assembly.stream*
Red Hat OpenShift Container Platform 4.13RedHatopenshift4/ose-thanos-rhel8:v4.13.0-202304190216.p0.gb6f11a5.assembly.stream*
Golang-github-prometheus-exporter-toolkitUbuntuesm-apps/jammy*
Golang-github-prometheus-exporter-toolkitUbuntujammy*
Golang-github-prometheus-exporter-toolkitUbuntukinetic*
Golang-github-prometheus-exporter-toolkitUbuntulunar*
Golang-github-prometheus-exporter-toolkitUbuntutrusty*
Golang-github-prometheus-exporter-toolkitUbuntuupstream*
Golang-github-prometheus-exporter-toolkitUbuntuxenial*
PrometheusUbuntubionic*
PrometheusUbuntufocal*
PrometheusUbuntukinetic*
PrometheusUbuntulunar*
PrometheusUbuntumantic*
PrometheusUbuntuoracular*
PrometheusUbuntuplucky*
PrometheusUbuntutrusty*
PrometheusUbuntuxenial*

Potential Mitigations

References