ADVISORIES

Alpine Security Database

ALPINE-CVE-2022-46146

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.17prometheus
All versions before 2.40.5-r0 (fixed in 2.40.5-r0)
Alpine:v3.18prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.19prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.20prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.21prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.22prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.23prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.24prometheus
All versions before 2.40.4-r1 (fixed in 2.40.4-r1)
Alpine:v3.17prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.18prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.19prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.20prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.21prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.22prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.23prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)
Alpine:v3.24prometheus-node-exporter
All versions before 1.5.0-r0 (fixed in 1.5.0-r0)

References