CVE-2022-46146 Prometheus Exporter Toolkit vulnerable to basic authentication bypass
HighCVSS 8.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| prometheus github.com/prometheus/exporter-toolkit(Go) | < 0.7.2 | 0.7.2 |
| prometheus github.com/prometheus/exporter-toolkit(Go) | >= 0.8.0, < 0.8.2 | 0.8.2 |
| prometheus github.com/prometheus/exporter-toolkit | = < 0.7.2 | No fix listed |
| prometheus github.com/prometheus/exporter-toolkit | = >= 0.8.0, < 0.8.2 | No fix listed |
| ubuntu/golang-github-prometheus-exporter-toolkit(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/prometheus(Ubuntu:22.04) | All versions | No fix listed |
| prometheus exporter toolkit | < 0.7.2 | 0.7.2 |
| prometheus exporter toolkit | >= 0.8.0, < 0.8.2 | 0.8.2 |
| ubuntu/prometheus(Ubuntu:24.04) | All versions | No fix listed |
| alpine/prometheus(Alpine:v3.17) | < 2.40.5-r0 | 2.40.5-r0 |
| alpine/prometheus(Alpine:v3.18) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.19) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.20) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.21) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.22) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.23) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus(Alpine:v3.24) | < 2.40.4-r1 | 2.40.4-r1 |
| alpine/prometheus-node-exporter(Alpine:v3.17) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.18) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.19) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.20) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.21) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.22) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.23) | < 1.5.0-r0 | 1.5.0-r0 |
| alpine/prometheus-node-exporter(Alpine:v3.24) | < 1.5.0-r0 | 1.5.0-r0 |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/prometheus(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/prometheus(Ubuntu:26.10) | All versions | No fix listed |
| debian/golang-github-prometheus-exporter-toolkit(Debian:12) | < 0.8.2-1 | 0.8.2-1 |
| debian/golang-github-prometheus-exporter-toolkit(Debian:14) | < 0.8.2-1 | 0.8.2-1 |
| debian/golang-github-prometheus-exporter-toolkit(Debian:13) | < 0.8.2-1 | 0.8.2-1 |
References
- github.com third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch third-party-advisory
- github.com product
- FEDORA-2023-1b25579262 vendor-advisory
- FEDORA-2023-c1318fb7f8 vendor-advisory
- FEDORA-2023-cf176d02d8 vendor-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- GLSA-202401-15 vendor-advisory
- [oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication exploit mailing-list third-party-advisory
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication exploit mailing-list patch third-party-advisory
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication exploit mailing-list patch third-party-advisory
- github.com
- Debian Security Tracker CVE-2022-46146 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking