CVE-2022-46146

Aliases:GHSA-7rg2-cxvp-9p7pGO-2022-1130
Modified
Published: 29 Nov 2022, 00:00
Last modified:03 Aug 2024, 14:24

Vulnerability Summary

Overall Risk (default)
medium
45/100
CVSS Score
8.8 HIGH
v3.1 (nvd)
EPSS Score
0.18% LOW
0% probability +0.06%
KEV
Not listed
Ransomware
No reports
Public exploits
3 found
Dark Web
Not detected

Timeline

29 Nov 2022, 00:00
Published
Vulnerability first disclosed
03 Aug 2024, 14:24
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1MEDIUMScore: 6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • v3.1HIGHScore: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.18% Percentile: 40%

Techniques & Countermeasures

  • CWE-303Incorrect Implementation of Authentication Algorithm

    The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

  • CWE-287Improper Authentication

    When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Affected Systems

  • github.com/prometheusexporter-toolkit

    < 0.7.2 | ≥ 0.8.0, < 0.8.2

  • prometheusexporter_toolkit

    < 0.7.2 | ≥ 0.8.0, < 0.8.2

  • prometheusexporter-toolkit

    < 0.7.2 | ≥ 0.8.0, < 0.8.2

References (18)