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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-287",
"CWE-303"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46146.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.7.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.8.0"
},
{
"fixed": "0.8.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5b1eab34484ddd353986bce736cd119d863e4ff5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}