CVE-2022-46146
HIGH 8.8CVSS 3.1Prometheus Exporter-Toolkit is vulnerable to authentication bypass
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.
- Published
- 29 Nov 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-7rg2-cxvp-9p7pGO-2022-1130
- Sources
- NVDJSONOSV GHSA-7rg2-cxvp-9p7pJSONOSV GO-2022-1130JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prometheus | exporter_toolkitcpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:* |
< 0.7.2 | 0.7.2 |
| NVD | prometheus | exporter_toolkitcpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:* |
>= 0.8.0, < 0.8.2 | 0.8.2 |
| OSV | Go | github.com/prometheus/exporter-toolkit | < 0.7.2 | 0.7.2 |
| OSV | Go | github.com/prometheus/exporter-toolkit | >= 0.8.0, < 0.8.2 | 0.8.2 |
| OSV | Go | github.com/prometheus/exporter-toolkit | < 0.7.2; >= 0.8.0, < 0.8.2 | 0.7.2, 0.8.2 |
References
- http://www.openwall.com/lists/oss-security/2022/11/29/1 · Exploit, Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/11/29/2 · Exploit, Mailing List, Patch, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/11/29/4 · Exploit, Mailing List, Patch, Third Party Advisory, WEB
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p · Third Party Advisory, WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/ · WEB
- https://security.gentoo.org/glsa/202401-15 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-46146 · ADVISORY
- https://github.com/prometheus/exporter-toolkit/commit/25288779bc59d00c41b4a1706c6b87f0561ef2d7 · WEB
- https://github.com/prometheus/exporter-toolkit · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Nov 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Dec 2022)