Ubuntu CVE Tracker
UBUNTU-CVE-2022-46146
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | prometheus | All versions, no fix listed |
| Ubuntu:18.04:LTS | prometheus | All versions, no fix listed |
| Ubuntu:20.04:LTS | prometheus | All versions, no fix listed |
| Ubuntu:22.04:LTS | golang-github-prometheus-exporter-toolkit | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | prometheus | All versions, no fix listed |
| Ubuntu:Pro:24.04:LTS | prometheus | All versions, no fix listed |
| Ubuntu:25.10 | prometheus | All versions, no fix listed |
| Ubuntu:26.10 | prometheus | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | prometheus | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2022-46146
- https://www.openwall.com/lists/oss-security/2022/11/29/1
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
- http://www.openwall.com/lists/oss-security/2022/11/29/1
- http://www.openwall.com/lists/oss-security/2022/11/29/2
- http://www.openwall.com/lists/oss-security/2022/11/29/4
- https://www.cve.org/CVERecord?id=CVE-2022-46146