Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Prometheus Exporter Toolkit vulnerable to basic authentication bypass

CVSS 3.1 6.2 MEDIUMEUVD CVSS 3.1 6.2 CVSS 3.1 · [email protected] · Secondary 6.2 MEDIUMCVSS 3.1 · [email protected] · Primary 8.8 HIGHCVSS_V3 Publisher rating MODERATEFixed by github.com/prometheus/exporter-toolkit 0.7.2Fixed by github.com/prometheus/exporter-toolkit 0.8.2osv · severity unknownFixed by github.com/prometheus/exporter-toolkit 0.7.2Fixed by github.com/prometheus/exporter-toolkit 0.8.2KEV status unknown

cve-program · CVE-2022-46146

Published

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.

Read the publisher's advisory

euvd · EUVD-2022-7555

Published

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.

Read the publisher's advisory

nvd · CVE-2022-46146

Published

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.

Read the publisher's advisory

osv · GHSA-7rg2-cxvp-9p7p

Published

### Impact Prometheus and its exporters can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication. Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password back. However, a flaw in the way this mechanism was implemented in the exporter toolkit makes it possible with people who know the hashed password to authenticate against Prometheus. A request can be forged by an attacker to poison the internal cache used to cache the computation of hashes and make subsequent requests successful. This cache is used in both happy and unhappy scenarios in order to limit side channel attacks that could tell an attacker if a user is present in the file or not. ### Patches The exporter-toolkit v0.7.3 and v0.8.2 have been released to address this issue. ### Workarounds There is no workaround but attacker must have access to the hashed password, stored in disk, to bypass the authentication. ### Credit We want to thank Lei Wan reporting this security issue.

Read the publisher's advisory

osv · GO-2022-1130

Published

If an attacker has access to a Prometheus web.yml file and users' bcrypted passwords, it would be possible to bypass security via the built-in authentication cache.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2022-46146

Published

exporter-toolkit

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "prometheus",
                    "product": "exporter-toolkit",
                    "versions": [
                        {
                            "version": "< 0.7.2",
                            "status": "affected"
                        },
                        {
                            "version": ">= 0.8.0, < 0.8.2",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2022-7555

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Nov 29, 2022, 12:00:00 AM

dateUpdated: Aug 3, 2024, 2:24:03 PM

38 related source bulletins · separate from aliases

WID-SEC-W-2022-2194: Prometheus: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen

CVE-2022-46146

SUSE-SU-2023:0812-1: Security update for SUSE Manager Client Tools

CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146

RHSA-2023:5001: Red Hat Security Advisory: OpenShift Container Platform 4.11.49 bug fix and security update

CVE-2022-46146

SUSE-EL-9-CLIENT-TOOLS-2023-3875: Security update for SUSE Manager Client Tools

CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409

openSUSE-SU-2024:12650-1: golang-github-prometheus-prometheus-2.41.0-1.1 on GA media

CVE-2022-46146

WID-SEC-W-2023-2338: Red Hat OpenShift: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen

CVE-2022-46146

SUSE-SU-2023:3867-1: Security update for SUSE Manager Client Tools

CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409

SUSE-SU-2023:1857-1: Security update for golang-github-prometheus-prometheus

CVE-2022-46146

SUSE-SU-2023:2187-1: Security update for Prometheus Golang clients

CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146

SUSE-SU-2023:0821-1: Security update for grafana

CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146

SUSE-SU-2023:2182-1: Security update for SUSE Manager Client Tools

CVE-2022-41715 · CVE-2022-46146

SUSE-SU-2024:0196-1: Security Beta update for SUSE Manager Client Tools and Salt

CVE-2020-7753 · CVE-2021-20178 · CVE-2021-20180 · CVE-2021-20191 · CVE-2021-20228 · CVE-2021-3447 · CVE-2021-3583 · CVE-2021-3620 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-23552 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128

openSUSE-SU-2024:12872-1: prometheus-postgres_exporter-0.10.1-2.1 on GA media

CVE-2022-46146

SUSE-SU-2023:0465-1: Security update for prometheus-ha_cluster_exporter

CVE-2022-46146

SUSE-SU-2023:0460-1: Security update for prometheus-ha_cluster_exporter

CVE-2022-46146

RHSA-2023:1326: Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update

CVE-2021-4235 · CVE-2021-4238 · CVE-2021-20329 · CVE-2021-38561 · CVE-2022-21698 · CVE-2022-23525 · CVE-2022-23526 · CVE-2022-27191 · CVE-2022-41316 · CVE-2022-41717 · CVE-2022-41721 · CVE-2022-41723 · CVE-2022-41724 · CVE-2022-41725 · CVE-2022-46146 · CVE-2023-0620 · CVE-2023-0665 · CVE-2023-25000 · CVE-2023-25165 · CVE-2023-25173 · CVE-2023-25809 · CVE-2023-27561 · CVE-2023-28642 · CVE-2023-30841

SUSE-SU-2023:0811-1: Security update for SUSE Manager Client Tools

CVE-2022-23552 · CVE-2022-39324 · CVE-2022-41723 · CVE-2022-46146

SUSE-SU-2023:2594-1: Security update for SUSE Manager Server 4.2

CVE-2022-46146 · CVE-2023-22644

SUSE-SU-2023:1859-1: Security update for golang-github-prometheus-prometheus

CVE-2022-46146

SUSE-SU-2023:1858-1: Security update for golang-github-prometheus-prometheus

CVE-2022-46146

SUSE-SU-2023:2579-1: Security update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2022-0155 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-41715 · CVE-2022-46146 · CVE-2023-1387 · CVE-2023-1410

SUSE-SU-2023:2183-1: Security update for SUSE Manager Client Tools

CVE-2022-27191 · CVE-2022-27664 · CVE-2022-41715 · CVE-2022-46146

SUSE-SU-2024:0191-1: Security Beta update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-36222 · CVE-2021-3711 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-39226 · CVE-2021-41174 · CVE-2021-41244 · CVE-2021-43138 · CVE-2021-43798 · CVE-2021-43813 · CVE-2021-43815 · CVE-2022-0155 · CVE-2022-21673 · CVE-2022-21698 · CVE-2022-21702 · CVE-2022-21703 · CVE-2022-21713 · CVE-2022-23552 · CVE-2022-27191 · CVE-2022-27664 · CVE-2022-29170 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-31123 · CVE-2022-31130 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-39201 · CVE-2022-39229 · CVE-2022-39306 · CVE-2022-39307 · CVE-2022-39324 · CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-0507 · CVE-2023-0594 · CVE-2023-1387 · CVE-2023-1410 · CVE-2023-2183 · CVE-2023-2801 · CVE-2023-3128 · CVE-2023-40577

SUSE-EL-9-CLIENT-TOOLS-2023-2185: Security update for SUSE Manager Client Tools

CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146

SUSE-SU-2023:3868-1: Security update for SUSE Manager Client Tools

CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409

SUSE-SU-2023:2598-1: Security update for golang-github-prometheus-prometheus

CVE-2022-41715 · CVE-2022-41723 · CVE-2022-46146

openSUSE-SU-2024:12700-1: grafana-8.5.20-2.1 on GA media

CVE-2022-46146

msrc_CVE-2022-46146: Prometheus Exporter Toolkit vulnerable to basic authentication bypass

CVE-2022-46146

SUSE-RU-2023:2592-1: Security update for SUSE Manager Server 4.3

CVE-2022-46146 · CVE-2023-22644

openSUSE-SU-2024:13109-1: golang-github-lusitaniae-apache_exporter-1.0.0-1.1 on GA media

CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146

RHSA-2023:2110: Red Hat Security Advisory: OpenShift Container Platform 4.12.16 security update

CVE-2022-46146

SUSE-SU-2023:0467-1: Security update for prometheus-ha_cluster_exporter

CVE-2022-46146

SUSE-SU-2023:2185-1: Security update for SUSE Manager Client Tools

CVE-2022-27191 · CVE-2022-27664 · CVE-2022-46146

SUSE-SU-2023:3875-1: Security update for SUSE Manager Client Tools

CVE-2022-32149 · CVE-2022-41723 · CVE-2022-46146 · CVE-2023-29409

openSUSE-SU-2024:12691-1: prometheus-ha_cluster_exporter-1.3.1+git.1676027782.ad3c0e9-2.1 on GA media

CVE-2022-46146

openSUSE-SU-2024:12637-1: golang-github-prometheus-node_exporter-1.5.0-1.1 on GA media

CVE-2022-27191 · CVE-2022-46146

openSUSE-SU-2024:12904-1: prometheus-blackbox_exporter-0.19.0-13.1 on GA media

CVE-2022-46146

SUSE-SU-2023:2578-1: Security update for SUSE Manager Client Tools

CVE-2020-7753 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-43138 · CVE-2022-0155 · CVE-2022-27664 · CVE-2022-31097 · CVE-2022-31107 · CVE-2022-32149 · CVE-2022-35957 · CVE-2022-36062 · CVE-2022-41715 · CVE-2022-46146 · CVE-2023-1387 · CVE-2023-1410

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2022-46146

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-287 · CWE-303

Original publisher date fields

published: 2022-11-29T14:15:13.283

lastModified: 2026-06-17T05:11:18.000

1 source CPE criteria · context only
  • cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-7rg2-cxvp-9p7p

Published

github.com/prometheus/exporter-toolkit

Go

SEMVER · introduced 0 → fixed 0.7.2

github.com/prometheus/exporter-toolkit

Go

SEMVER · introduced 0.8.0 → fixed 0.8.2

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GO-2022-1130

Published

github.com/prometheus/exporter-toolkit

Go

SEMVER · introduced 0 → fixed 0.7.2 → introduced 0.8.0 → fixed 0.8.2

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 04:49 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current