CVE-2022-46146
Prometheus Exporter Toolkit vulnerable to basic authentication bypass
- State
- Published
- Severity
- 6.2 Medium
- Published
- Nov 29, 2022
- Updated
- Aug 3, 2024
- Reserved
- Nov 28, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
exporter-toolkitprometheus |
|
References
- https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
- https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
- [oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authenticationmailing-list
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authenticationmailing-list
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authenticationmailing-list
- FEDORA-2023-cf176d02d8vendor-advisory
- FEDORA-2023-1b25579262vendor-advisory
- FEDORA-2023-c1318fb7f8vendor-advisory
- GLSA-202401-15vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.