CVE-2024-26147Helm's Missing YAML Content Leads To Panic
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | helm | Fix pending | UBUNTU-CVE-2024-26147 | |
| Ubuntu 26.04 | helm | Under investigation | UBUNTU-CVE-2024-26147 | |
| Ubuntu 25.10 | helm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-26147 | |
| Ubuntu 24.04 | helm | Under investigation | UBUNTU-CVE-2024-26147 | |
| Ubuntu 22.04 | helm | Under investigation | UBUNTU-CVE-2024-26147 | |
| Ubuntu 20.04 | helm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-26147 | |
| Ubuntu 18.04 | helm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-26147 | |
| Ubuntu 16.04 | helm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2024-26147 | |
| Go library | helm.sh/helm/v3 | Fixed | 3.14.2 | GHSA-r53h-jv2g-vpx6 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- helm: affected: < 3.14.2
References
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.