Vulnerability · Published Feb 21, 2024 · Assigned by GitHub_M
CVE-2024-26147Helm's Missing YAML Content Leads To Panic
High 7.5
In plain English
A high-severity security flaw in helm from helm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | helm.sh/helm/v3 | 3.14.2 | GHSA-r53h-jv2g-vpx6 |
| Go | helm.sh/helm/v3 | 3.14.2 | GO-2024-2575 |
| Ubuntu:22.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-26147 |
| Ubuntu:24.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-26147 |
| Ubuntu:25.10 | helm | no fix listed | UBUNTU-CVE-2024-26147 |
| Ubuntu:26.04:LTS | helm | no fix listed | UBUNTU-CVE-2024-26147 |
| Ubuntu:26.10 | helm | no fix listed | UBUNTU-CVE-2024-26147 |
Affected products (as reported)
Weakness: CWE-457 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6 x_refsource_CONFIRM
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af x_refsource_MISC