elastisys / compliantkubernetes-apps

Elastisys Compliant Kubernetes is an open source, Certified Kubernetes distribution designed according to the ISO27001 controls: providing you with security tooling and observability from day one.
https://elastisys.io/compliantkubernetes/
Apache License 2.0
46 stars 7 forks source link

Upgrade Grafana to 11.3.0 and chart to 8.5.9 to fix CVE-2024-9264 #2319

Closed anders-elastisys closed 3 weeks ago

anders-elastisys commented 1 month ago

[!warning] This is a public repository, ensure not to disclose:

  • [x] personal data beyond what is necessary for interacting with this pull request, nor
  • [x] business confidential information, such as customer names.

What kind of PR is this?

Required: Mark one of the following that is applicable:

Optional: Mark one or more of the following that are applicable:

[!important] Breaking changes should be marked kind/admin-change or kind/dev-change depending on type Critical security fixes should be marked with kind/security

Security notice

Upgrades Grafana to 11.3.0 to fix CVE-2024-9264

What does this PR do / why do we need this PR?

This PR upgrades the Grafana chart to v8.5.9 which upgrades the Grafana image to 11.3.0 containing a critical severity fix for CVE-2024-9264. The CVE is only exploitable if duckdb binary is available, which is not packaged by default and as such not in Welkin either (by default). The k8s-sidecar image has also been updated with this change from v1.27.4 to v1.28.0 which contains fixes for high and critical CVEs.

Information to reviewers

Checklist

OlleLarsson commented 1 month ago

There seems to be an issue with this image causing a bunch of warning logs when accessing dashboards:

We are not talking a huge amount here right?

anders-elastisys commented 1 month ago

There seems to be an issue with this image causing a bunch of warning logs when accessing dashboards:

We are not talking a huge amount here right?

@OlleLarsson Seems to add about 6 warning logs each time you enter a dashboard, change data source or just refresh the dashboard :/

anders-elastisys commented 4 weeks ago

The logging issue has been fixed in Grafana v11.3.0, I will wait a bit and see if the Helm chart gets upgraded with this image and I will then upgrade to that in this PR as well

anders-elastisys commented 3 weeks ago

I upgraded Grafana to 11.3.0 and chart to 8.5.9 now to fix the log issue introduced in 11.2.2+security-01. I will merge this later today unless anyone objects.