Improper Authentication Affecting golang-github-prometheus-exporter-toolkit package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.26% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-GOLANGGITHUBPROMETHEUSEXPORTERTOOLKIT-3152397
  • published26 Feb 2026
  • disclosed29 Nov 2022

Introduced: 29 Nov 2022

CVE-2022-46146  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 golang-github-prometheus-exporter-toolkit.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-prometheus-exporter-toolkit package and not the golang-github-prometheus-exporter-toolkit package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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 Base Scores

version 3.1