CVE-2022-46146

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.

Severity
MEDIUM
CVSS v3
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
1.289%
chance of exploitation in the next 30 days
higher than 70.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2022-11-29Published by the CNA00:00 UTC
  2. 2022-12-02GitHub advisory published (GHSA-7rg2-cxvp-9p7p)3 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-7rg2-cxvp-9p7p, affected packages:

PackageVulnerable versionsFixed in
Go github.com/prometheus/exporter-toolkitbefore 0.7.20.7.2
Go github.com/prometheus/exporter-toolkitfrom 0.8.0 before 0.8.20.8.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
prometheus exporter_toolkitbefore 0.7.2fixed in 0.7.2from 0.8.0 before 0.8.2fixed in 0.8.20.7.20.8.2

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources