Skip to content

Commit 41fd022

Browse files
committed
Whitelist Prometheus CVEs
CVE-2024-45337 [1] affects multiple Prometheus containers. The vulnerability allows for authorisation bypassing due to a flaw in the handling of public key handling. We only access Prometheus with basic auth (username/password), so we are not affected by this CVE. CVE-2024-41110 [2] only affects prometheus_cadvisor. Suggested workarounds are to avoid using AuthZ plugins and/or restrict access to the Docker API to trusted parties. Best I can tell, we don't use any AuthZ plugins and regardless the Docker API can only be reached from the control plane, as we are not affected by this CVE. 1. https://avd.aquasec.com/nvd/2024/cve-2024-45337/ 2. https://avd.aquasec.com/nvd/2024/cve-2024-41110/
1 parent 928fcc7 commit 41fd022

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

etc/kayobe/trivy/allowed-vulnerabilities.yml

+19
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,28 @@
1414
# - CVE-2023-31047
1515
fluentd_allowed_vulnerabilities:
1616
- CVE-2024-27280
17+
1718
grafana_allowed_vulnerabilities:
1819
- CVE-2024-8986
1920

21+
prometheus-blackbox_allowed_vulnerabilities:
22+
- CVE-2024-45337
23+
prometheus-memcached-exporter_allowed_vulnerabilities:
24+
- CVE-2024-45337
25+
prometheus-mysqld-exporter_allowed_vulnerabilities:
26+
- CVE-2024-45337
27+
prometheus-elasticsearch-exporter_allowed_vulnerabilities:
28+
- CVE-2024-45337
29+
prometheus-node-exporter_allowed_vulnerabilities:
30+
- CVE-2024-45337
31+
prometheus-openstack-exporter_allowed_vulnerabilities:
32+
- CVE-2024-45337
33+
prometheus-libvirt-exporterallowed_vulnerabilities:
34+
- CVE-2024-45337
35+
36+
prometheus-cadvisor_allowed_vulnerabilities:
37+
- CVE-2024-41110
38+
- CVE-2024-45337
2039

2140
###############################################################################
2241
# Dummy variable to allow Ansible to accept this file.

0 commit comments

Comments
 (0)