Helm's Missing YAML Content Leads To Panic
cve-program · CVE-2024-26147
PublishedHelm 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.
Read the publisher's advisoryeuvd · EUVD-2024-0709
PublishedHelm 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.
Read the publisher's advisorynvd · CVE-2024-26147
PublishedHelm 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.
Read the publisher's advisoryosv · GHSA-r53h-jv2g-vpx6
PublishedA Helm contributor discovered uninitialized variable vulnerability when Helm parses index and plugin yaml files missing expected content. ### Impact 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. ### Patches This issue has been resolved in Helm v3.14.2. ### Workarounds 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. ### For more information Helm's security policy is spelled out in detail in our [SECURITY](https://github.com/helm/community/blob/master/SECURITY.md) document. ### Credits Disclosed by Jakub Ciolek at AlphaSense.
Read the publisher's advisoryosv · GO-2024-2575
PublishedHelm's Missing YAML Content Leads To Panic in helm.sh/helm/v3
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-26147 · CVE overview and exploitation status
cve-program · CVE-2024-26147
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
euvd · EUVD-2024-0709
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
nvd · CVE-2024-26147
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
osv · GHSA-r53h-jv2g-vpx6
- https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
- https://nvd.nist.gov/vuln/detail/CVE-2024-26147
- https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
- https://github.com/helm/helm
osv · GO-2024-2575
Related changes
Linked by CVE identifierNo related changes are available here.