CVE-2022-46146

HIGH
Published Nov 29, 20223y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published Nov 29, 2022 3y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-287 Improper Authentication Authentication
CWE-303

Affected Products 2

VendorProductVersionRange
prometheusexporter_toolkit* <0.7.2
prometheusexporter_toolkit*≥0.8.0  –  <0.8.2

References 9

  • openwall.com http://www.openwall.com/lists/oss-security/2022/11/29/1
    ExploitMailing ListThird Party Advisory
  • openwall.com http://www.openwall.com/lists/oss-security/2022/11/29/2
    ExploitMailing ListPatchThird Party Advisory
  • openwall.com http://www.openwall.com/lists/oss-security/2022/11/29/4
    ExploitMailing ListPatchThird Party Advisory
  • github.com https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
    PatchThird Party Advisory
  • github.com https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
    Third Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JRSHISR64L6QGSMDFZDNPHHIXSCAKK26/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UH24VXIB25OGHF4VGY4PLZMTGTI3BHCA/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULVDTAI76VATRAHTKCE2SUJ4NC3PQZ6Y/
  • security.gentoo.org https://security.gentoo.org/glsa/202401-15

Remediation

  • openwall.com http://www.openwall.com/lists/oss-security/2022/11/29/2
    ExploitMailing ListPatchThird Party Advisory
  • openwall.com http://www.openwall.com/lists/oss-security/2022/11/29/4
    ExploitMailing ListPatchThird Party Advisory
  • github.com https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
    PatchThird Party Advisory