Fedora 38 : golang-github-prometheus-exporter-toolkit / etc (2023-c1318fb7f8)

high Nessus Plugin ID 181728

Language:

Synopsis

The remote Fedora host is missing one or more security updates.

Description

The remote Fedora 38 host has packages installed that are affected by multiple vulnerabilities as referenced in the FEDORA-2023-c1318fb7f8 advisory.

- 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.
(CVE-2022-46146)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected golang-github-prometheus-exporter-toolkit, golang-github-xhit-str2duration and / or golang-gopkg- alecthomas-kingpin-2 packages.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2023-c1318fb7f8

Plugin Details

Severity: High

ID: 181728

File Name: fedora_2023-c1318fb7f8.nasl

Version: 1.0

Type: local

Agent: unix

Published: 9/21/2023

Updated: 9/21/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-46146

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fedoraproject:fedora:38, p-cpe:/a:fedoraproject:fedora:golang-github-prometheus-exporter-toolkit, p-cpe:/a:fedoraproject:fedora:golang-github-xhit-str2duration, p-cpe:/a:fedoraproject:fedora:golang-gopkg-alecthomas-kingpin-2

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/12/2023

Vulnerability Publication Date: 11/29/2022

Reference Information

CVE: CVE-2022-46146