CVE-2022-46146 MEDIUM

CVE-2022-46146: Prometheus Exporter Toolkit vulnerable to basic authentication bypass

Vendor Prometheus
Product exporter-toolkit
Weakness CWE-303
Published November 29, 2022
Last update August 3, 2024

CVSS base score

6.2/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 29, 2022 CVE published
August 3, 2024 Record updated