CVE-2022-46146: Prometheus Exporter Toolkit vulnerable to basic authentication bypass
Vulnerability summary
CVE-2022-46146 is a high (CVSS 8.8) Improper Authentication vulnerability in prometheus exporter_toolkit. EPSS estimates a 1.26% chance of exploitation in the next 30 days, higher than 69.6% of scored vulnerabilities. 3 public exploits are recorded.
Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 27Timeline
- 29-11-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated6.2MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.26%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- CWE-303Incorrect Implementation of Authentication AlgorithmThe requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse10 products
- golang-github-prometheus-prometheus&distro=SUSE Manager Client Tools 12< 2.32.1-1.41.1
- golang-github-prometheus-prometheus&distro=SUSE Manager Client Tools 15< 2.32.1-150000.3.44.1
- golang-github-prometheus-prometheus&distro=SUSE Manager Proxy Module 4.2< 2.32.1-150100.4.12.1
- golang-github-prometheus-prometheus&distro=SUSE Manager Proxy Module 4.3< 2.32.1-150100.4.12.1
- prometheus-ha_cluster_exporter&distro=SUSE Linux Enterprise Module for SAP Applications 15 SP1< 1.3.1+git.1676027782.ad3c0e9-150000.1.24.1
Opensuse7 products
- golang-github-prometheus-prometheus&distro=openSUSE Leap 15.4< 2.32.1-150100.4.12.1
- golang-github-prometheus-prometheus&distro=openSUSE Tumbleweed< 2.41.0-1.1
- grafana&distro=openSUSE Tumbleweed< 8.5.20-2.1
- prometheus-blackbox_exporter&distro=openSUSE Tumbleweed< 0.19.0-13.1
- prometheus-ha_cluster_exporter&distro=openSUSE Leap 15.4< 1.3.1+git.1676027782.ad3c0e9-150200.3.21.1
Chainguard4 products
- kube-state-metrics-2.6< 2.6.0-r1
- prometheus-postgres-exporter-0.10All versions (No fix recorded)
- prometheus-pushgateway-1.4< 1.4.3-r1
- prometheus-pushgateway-fips-1.4< 1.4.3-r4
Alpine2 products
- prometheus< 2.40.5-r0 | < 2.40.4-r1
- prometheus-node-exporter< 1.5.0-r0
Prometheus2 products
- exporter_toolkit< 0.7.2 | ≥ 0.8.0, < 0.8.2
- exporter-toolkit< 0.7.2 | ≥ 0.8.0, < 0.8.2
Ubuntu2 products
- golang-github-prometheus-exporter-toolkitAll versions (No fix recorded)
- prometheusAll versions (No fix recorded)
Debian1 product
- golang-github-prometheus-exporter-toolkit< 0.8.2-1
Github.com/prometheus1 product
- exporter-toolkit< 0.7.2 | ≥ 0.8.0, < 0.8.2
8 vendors · 29 products
References
34 links- github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7pREPORTWEBAdvisoryThird Party Advisory
- github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5REPORTWEBFIXPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2022/11/29/1Mailing ListREPORTWEBARTICLEExploitThird Party Advisory
- www.openwall.com/lists/oss-security/2022/11/29/2Mailing ListREPORTWEBARTICLEExploitPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2022/11/29/4Mailing ListREPORTWEBARTICLEExploitPatchThird Party Advisory