Bugzilla – Bug 1220207
VUL-0: TRACKERBUG: CVE-2024-26147: helm: Missing YAML Content Leads To Panic
Last modified: 2024-04-08 12:31:04 UTC
Helm is a package manager for Charts for Kubernetes. Versions prior to 3.14.2 contain an uninitialized variable vulnerability when Helm parses index and plugin yaml files missing expected content. When either an `index.yaml` file or a plugins `plugin.yaml` file were missing all metadata a panic would occur in Helm. In the Helm SDK, this is found when using the `LoadIndexFile` or `DownloadIndexFile` functions in the `repo` package or the `LoadDir` function in the `plugin` package. For the Helm client this impacts functions around adding a repository and all Helm functions if a malicious plugin is added as Helm inspects all known plugins on each invocation. This issue has been resolved in Helm v3.14.2. If a malicious plugin has been added which is causing all Helm client commands to panic, the malicious plugin can be manually removed from the filesystem. If using Helm SDK versions prior to 3.14.2, calls to affected functions can use `recover` to catch the panic. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26147 https://www.cve.org/CVERecord?id=CVE-2024-26147 https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6 https://bugzilla.redhat.com/show_bug.cgi?id=2265440
Only k9s packages embed the affected Go pkg helm/v3/pkg/plugin.
dependabot is working on it: https://github.com/derailed/k9s/pull/2555
This is an autogenerated message for OBS integration: This bug (1220207) was mentioned in https://build.opensuse.org/request/show/1149779 Factory / helm
SUSE-SU-2024:1137-1: An update that solves two vulnerabilities can now be installed. Category: security (moderate) Bug References: 1219969, 1220207 CVE References: CVE-2024-25620, CVE-2024-26147 Maintenance Incident: [SUSE:Maintenance:32773](https://smelt.suse.de/incident/32773/) Sources used: openSUSE Leap 15.5 (src): helm-3.13.3-150000.1.32.1 Containers Module 15-SP5 (src): helm-3.13.3-150000.1.32.1 SUSE Package Hub 15 15-SP5 (src): helm-3.13.3-150000.1.32.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.