Improper Authentication Affecting golang-github-prometheus-node_exporter package, versions <1.5.0-150100.3.23.2


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (34th 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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES154-GOLANGGITHUBPROMETHEUSNODEEXPORTER-5529872
  • published12 May 2023
  • disclosed11 May 2023

Introduced: 11 May 2023

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?

Upgrade SLES:15.4 golang-github-prometheus-node_exporter to version 1.5.0-150100.3.23.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-prometheus-node_exporter package and not the golang-github-prometheus-node_exporter package as distributed by SLES. See How to fix? for SLES:15.4 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