cve.bz

CVE-2022-46146 prometheus exporter toolkit: Improper Authentication

8.8 highExploit referenceEPSS 1.3%Fix available

High (8.8) in prometheus exporter toolkit. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/prometheus/exporter-toolkit 0.7.2, 0.8.2.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-287 Improper Authentication
CWE-303 Incorrect Implementation of Authentication Algorithm
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-46146 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-46146?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-46146?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-46146 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
prometheus:exporter_toolkitbefore 0.7.2
prometheus:exporter_toolkitfrom 0.8.0 before 0.8.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7rg2-cxvp-9p7pGogithub.com/prometheus/exporter-toolkit<0.7.20.7.2
GHSA-7rg2-cxvp-9p7pGogithub.com/prometheus/exporter-toolkit>=0.8.0 <0.8.20.8.2
GO-2022-1130Gogithub.com/prometheus/exporter-toolkit<0.7.2
>=0.8.0 <0.8.2
0.7.2, 0.8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-github-prometheus-exporter-toolkit0.8.2-1DEBIAN-CVE-2022-46146
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreprometheusno fix listedUBUNTU-CVE-2022-46146
Ubuntu22.04:LTSgolang-github-prometheus-exporter-toolkitno fix listedUBUNTU-CVE-2022-46146
SUSEEL-9:Update:Products:ManagerTools:Updategolang-packaging15.0.16-1.3.2SUSE-SU-2023:2185-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-QubitProducts-exporter_exporter0.4.0-1.6.1SUSE-SU-2023:3875-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-lusitaniae-apache_exporter1.0.0-1.8.1SUSE-SU-2023:3875-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-prometheus-node_exporter1.5.0-1.6.1SUSE-SU-2023:2185-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSgolang-github-prometheus-node_exporter1.5.0-1.9.2SUSE-SU-2023:3875-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSprometheus-postgres_exporter0.10.1-1.6.2SUSE-SU-2023:2185-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSprometheus-postgres_exporter0.10.1-1.9.2SUSE-SU-2023:3875-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSscap-security-guide0.1.69-1.12.2SUSE-SU-2023:3875-1
SUSEEL-9:Update:Products:ManagerTools:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSspacecmd4.3.23-1.18.2SUSE-SU-2023:3875-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moresupportutils-plugin-salt1.2.2-150000.3.13.1SUSE-SU-2023:0812-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 14 moregolang-github-prometheus-node_exporter1.5.0-150100.3.23.2SUSE-SU-2023:2187-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 5 morebind9.16.6-150000.12.65.1SUSE-SU-2023:2578-1
108 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4bind9.16.6-150000.12.65.1SUSE-SU-2023:2578-1
openSUSELeap 15.4dracut-saltboot0.1.1674034019.a93ff61-150000.1.47.1SUSE-SU-2023:0812-1
openSUSELeap 15.4golang-github-prometheus-alertmanager0.23.0-150100.4.13.2SUSE-SU-2023:2187-1
openSUSELeap 15.4golang-github-prometheus-node_exporter1.5.0-150100.3.23.2SUSE-SU-2023:2187-1
openSUSELeap 15.4golang-github-prometheus-prometheus2.32.1-150100.4.12.1SUSE-SU-2023:1859-1
openSUSELeap 15.4golang-github-prometheus-promu0.14.0-150000.3.12.2SUSE-SU-2023:2182-1
openSUSELeap 15.4grafana8.5.20-150200.3.35.1SUSE-SU-2023:0821-1
openSUSELeap 15.4prometheus-blackbox_exporter0.19.0-150000.1.17.2SUSE-SU-2023:2182-1
openSUSELeap 15.4prometheus-ha_cluster_exporter1.3.1+git.1676027782.ad3c0e9-150200.3.21.1SUSE-SU-2023:0465-1
openSUSELeap 15.4prometheus-postgres_exporter0.10.1-150000.1.11.4SUSE-SU-2023:2182-1
openSUSELeap 15.4spacecmd4.3.19-150000.3.95.1SUSE-SU-2023:0812-1
openSUSELeap 15.4supportutils-plugin-salt1.2.2-150000.3.13.1SUSE-SU-2023:0812-1
17 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.17prometheus2.40.5-r0ALPINE-CVE-2022-46146
Alpinev3.17, v3.18, v3.19 and 5 moreprometheus-node-exporter1.5.0-r0ALPINE-CVE-2022-46146
Alpinev3.18, v3.19, v3.20 and 4 moreprometheus2.40.4-r1ALPINE-CVE-2022-46146
Azure Linux3prometheus-process-exporter0.8.2-1AZL-41992

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.11openshift4/ose-thanos-rhel8:v4.11.0-202308311243.p0.g99b6e03.assembly.streamFixed 2023-09-13RHSA-2023:5001
Red Hat OpenShift Container Platform 4.12openshift4/ose-thanos-rhel8:v4.12.0-202305022015.p0.g9f2b5ff.assembly.streamFixed 2023-05-10RHSA-2023:2110
Red Hat OpenShift Container Platform 4.13openshift4/ose-kube-state-metrics:v4.13.0-202304190216.p0.g4b96984.assembly.streamFixed 2023-05-17RHSA-2023:1326
Red Hat OpenShift Container Platform 4.13openshift4/ose-prometheus:v4.13.0-202305020815.p0.g8279148.assembly.streamFixed 2023-05-17RHSA-2023:1326
Red Hat OpenShift Container Platform 4.13openshift4/ose-prometheus-alertmanager:v4.13.0-202304190216.p0.gf44d574.assembly.streamFixed 2023-05-17RHSA-2023:1326
Red Hat OpenShift Container Platform 4.13openshift4/ose-prometheus-node-exporter:v4.13.0-202304190216.p0.g10dc380.assembly.streamFixed 2023-05-17RHSA-2023:1326
Red Hat OpenShift Container Platform 4.13openshift4/ose-thanos-rhel8:v4.13.0-202304190216.p0.gb6f11a5.assembly.streamFixed 2023-05-17RHSA-2023:1326
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2prometheus-alertmanager-containerNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-prometheus-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/memcached-exporter-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/node-exporter-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/prometheus-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/rbac-query-proxy-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-receive-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/thanos-rhel9Not affected
Red Hat Enterprise Linux 9grafanaWill not fix
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-46146.

Attack patterns (CAPEC)

  • CAPEC-90 Reflection Attack in Authentication Protocol Likelihood: High · Severity: High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287.

References

Check your stackJSON