CVE-2022-46146
Authentication bypass in github.com/prometheus/exporter-toolkit
6.2
MEDIUM
CVSS 3.1
EPSS 0.18%
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.
How to fix CVE-2022-46146
To remediate CVE-2022-46146, upgrade the affected package to a fixed version below.
- —upgrade to 0.5.1-2+deb11u2 or later
- —upgrade to 0.7.2 or later
- —upgrade to 0.7.2 or later
Is CVE-2022-46146 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.5.1-2+deb11u2
- from 0, < 0.7.2
- from 0, < 0.7.2, >= 0.8.0, < 0.8.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |