{"api_version":"1","generated_at":"2026-04-23T02:25:09+00:00","cve":"CVE-2022-46146","urls":{"html":"https://cve.report/CVE-2022-46146","api":"https://cve.report/api/cve/CVE-2022-46146.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46146","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46146"},"summary":{"title":"CVE-2022-46146","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-11-29 14:15:00","updated_at":"2024-01-12 12:15:00"},"problem_types":["CWE-287","CWE-303"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/","name":"FEDORA-2023-1b25579262","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: golang-github-xhit-str2duration-2.1.0-3.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/","name":"FEDORA-2023-c1318fb7f8","refsource":"","tags":[],"title":"[SECURITY] Fedora 38 Update: golang-gopkg-alecthomas-kingpin-2-2.3.2-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/","name":"FEDORA-2023-c1318fb7f8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 38 Update: golang-gopkg-alecthomas-kingpin-2-2.3.2-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/11/29/2","name":"[oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.openwall.com/lists/oss-security/2022/11/29/1","name":"[oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","refsource":"MLIST","tags":[],"title":"oss-security - CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic\n authentication","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p","name":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p","refsource":"CONFIRM","tags":[],"title":"Basic authentication bypass · Advisory · prometheus/exporter-toolkit · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-15","name":"GLSA-202401-15","refsource":"","tags":[],"title":"Prometheus SNMP Exporter: Basic Authentication Bypass (GLSA 202401-15) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5","name":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-7rg2-cxvp-9p7p · prometheus/exporter-toolkit@5b1eab3 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/","name":"FEDORA-2023-1b25579262","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: golang-github-xhit-str2duration-2.1.0-3.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/","name":"FEDORA-2023-cf176d02d8","refsource":"","tags":[],"title":"[SECURITY] Fedora 39 Update: golang-gopkg-alecthomas-kingpin-2-2.3.2-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2022/11/29/4","name":"[oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE-2022-46146 in Prometheus' exporter toolkit:\n bypass basic authentication","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/","name":"FEDORA-2023-cf176d02d8","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 39 Update: golang-gopkg-alecthomas-kingpin-2-2.3.2-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46146","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46146","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"46146","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"prometheus","cpe5":"exporter_toolkit","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-46146","qid":"182705","title":"Debian Security Update for golang-github-prometheus-exporter-toolkit (CVE-2022-46146)"},{"cve":"CVE-2022-46146","qid":"284531","title":"Fedora Security Update for golang (FEDORA-2023-1b25579262)"},{"cve":"CVE-2022-46146","qid":"284532","title":"Fedora Security Update for golang (FEDORA-2023-c1318fb7f8)"},{"cve":"CVE-2022-46146","qid":"285261","title":"Fedora Security Update for golang (FEDORA-2023-cf176d02d8)"},{"cve":"CVE-2022-46146","qid":"502916","title":"Alpine Linux Security Update for prometheus-node-exporter"},{"cve":"CVE-2022-46146","qid":"502917","title":"Alpine Linux Security Update for prometheus"},{"cve":"CVE-2022-46146","qid":"503220","title":"Alpine Linux Security Update for prometheus"},{"cve":"CVE-2022-46146","qid":"505797","title":"Alpine Linux Security Update for prometheus-node-exporter"},{"cve":"CVE-2022-46146","qid":"506168","title":"Alpine Linux Security Update for prometheus"},{"cve":"CVE-2022-46146","qid":"691042","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for prometheus2 (791a09c5-a086-11ed-954d-b42e991fc52e)"},{"cve":"CVE-2022-46146","qid":"691047","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for node_exporter (d835c54f-a4bd-11ed-b6af-b42e991fc52e)"},{"cve":"CVE-2022-46146","qid":"710833","title":"Gentoo Linux Prometheus Simple Network Management Protocol (SNMP) Exporter Basic Authentication Bypass Vulnerability (GLSA 202401-15)"},{"cve":"CVE-2022-46146","qid":"753721","title":"SUSE Enterprise Linux Security Update for prometheus-ha_cluster_exporter (SUSE-SU-2023:0465-1)"},{"cve":"CVE-2022-46146","qid":"753725","title":"SUSE Enterprise Linux Security Update for prometheus-ha_cluster_exporter (SUSE-SU-2023:0460-1)"},{"cve":"CVE-2022-46146","qid":"753728","title":"SUSE Enterprise Linux Security Update for prometheus-ha_cluster_exporter (SUSE-SU-2023:0467-1)"},{"cve":"CVE-2022-46146","qid":"753815","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:0812-1)"},{"cve":"CVE-2022-46146","qid":"753994","title":"SUSE Enterprise Linux Security Update for Prometheus Golang clients (SUSE-SU-2023:2187-1)"},{"cve":"CVE-2022-46146","qid":"753995","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:2183-1)"},{"cve":"CVE-2022-46146","qid":"754116","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:2578-1)"},{"cve":"CVE-2022-46146","qid":"754205","title":"SUSE Enterprise Linux Security Update for prometheus-ha_cluster_exporter (SUSE-SU-2023:0467-1)"},{"cve":"CVE-2022-46146","qid":"754978","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:3868-1)"},{"cve":"CVE-2022-46146","qid":"754979","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:3867-1)"},{"cve":"CVE-2022-46146","qid":"755844","title":"SUSE Enterprise Linux Security Update for suse manager server 4.2 (SUSE-SU-2023:2594-1)"},{"cve":"CVE-2022-46146","qid":"755846","title":"SUSE Enterprise Linux Security Update for golang-github-prometheus-prometheus (SUSE-SU-2023:2598-1)"},{"cve":"CVE-2022-46146","qid":"755883","title":"SUSE Enterprise Linux Security Update for suse manager 4.3: server (SUSE-SU-2023:2181-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-46146","STATE":"PUBLIC","TITLE":"Prometheus Exporter Toolkit vulnerable to basic authentication bypass"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"exporter-toolkit","version":{"version_data":[{"version_value":"< 0.7.2"},{"version_value":">= 0.8.0, < 0.8.2"}]}}]},"vendor_name":"prometheus"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-303: Incorrect Implementation of Authentication Algorithm"}]},{"description":[{"lang":"eng","value":"CWE-287: Improper Authentication"}]}]},"references":{"reference_data":[{"name":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p","refsource":"CONFIRM","url":"https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p"},{"name":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5","refsource":"MISC","url":"https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5"},{"refsource":"MLIST","name":"[oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","url":"http://www.openwall.com/lists/oss-security/2022/11/29/1"},{"refsource":"MLIST","name":"[oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","url":"http://www.openwall.com/lists/oss-security/2022/11/29/2"},{"refsource":"MLIST","name":"[oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication","url":"http://www.openwall.com/lists/oss-security/2022/11/29/4"},{"refsource":"FEDORA","name":"FEDORA-2023-cf176d02d8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/"},{"refsource":"FEDORA","name":"FEDORA-2023-1b25579262","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/"},{"refsource":"FEDORA","name":"FEDORA-2023-c1318fb7f8","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/"}]},"source":{"advisory":"GHSA-7rg2-cxvp-9p7p","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-29 14:15:00","lastModifiedDate":"2024-01-12 12:15:00","problem_types":["CWE-287","CWE-303"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*","versionStartIncluding":"0.8.0","versionEndExcluding":"0.8.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:prometheus:exporter_toolkit:*:*:*:*:*:*:*:*","versionEndExcluding":"0.7.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}