Prometheus Exporter Toolkit vulnerable to basic authentication bypass
CVE-2022-46146
6.2MEDIUM
What is CVE-2022-46146?
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 Version(s)
exporter-toolkit < 0.7.2 < 0.7.2
exporter-toolkit >= 0.8.0, < 0.8.2 < 0.8.0, 0.8.2
