{"id":"CVE-2022-46146","summary":"Prometheus Exporter Toolkit vulnerable to basic authentication bypass","details":"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.","aliases":["GHSA-7rg2-cxvp-9p7p","GO-2022-1130"],"modified":"2026-04-22T04:09:27.161386Z","published":"2022-11-29T00:00:00Z","related":["CGA-q8cm-w99c-4fj2","SUSE-RU-2023:2592-1","SUSE-SU-2023:0460-1","SUSE-SU-2023:0465-1","SUSE-SU-2023:0467-1","SUSE-SU-2023:0811-1","SUSE-SU-2023:0812-1","SUSE-SU-2023:0821-1","SUSE-SU-2023:1857-1","SUSE-SU-2023:1858-1","SUSE-SU-2023:1859-1","SUSE-SU-2023:2182-1","SUSE-SU-2023:2183-1","SUSE-SU-2023:2185-1","SUSE-SU-2023:2187-1","SUSE-SU-2023:2578-1","SUSE-SU-2023:2579-1","SUSE-SU-2023:2594-1","SUSE-SU-2023:2598-1","SUSE-SU-2023:3867-1","SUSE-SU-2023:3868-1","SUSE-SU-2023:3875-1","SUSE-SU-2024:0191-1","SUSE-SU-2024:0196-1","openSUSE-SU-2024:12637-1","openSUSE-SU-2024:12650-1","openSUSE-SU-2024:12691-1","openSUSE-SU-2024:12700-1","openSUSE-SU-2024:12872-1","openSUSE-SU-2024:12904-1","openSUSE-SU-2024:13109-1"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46146.json","cwe_ids":["CWE-287","CWE-303"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46146.json"},{"type":"ADVISORY","url":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46146"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-15"},{"type":"FIX","url":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/1"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/2"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2022/11/29/4"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/prometheus/exporter-toolkit","events":[{"introduced":"7cedc3cfb233bd238c0b1a3675385d0518d3d3c5"},{"fixed":"5b1eab34484ddd353986bce736cd119d863e4ff5"}]}],"versions":["v0.8.0","v0.8.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-46146.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}