CVE-2024-26147

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*

History

09 Jan 2025, 14:40

Type Values Removed Values Added
References () https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af - () https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af - Patch
References () https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6 - () https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6 - Vendor Advisory
CPE cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*
First Time Helm
Helm helm
CWE CWE-908

Information

Published : 2024-02-21 23:15

Updated : 2025-01-09 14:40


NVD link : CVE-2024-26147

Mitre link : CVE-2024-26147

CVE.ORG link : CVE-2024-26147


JSON object : View

Products Affected

helm

  • helm
CWE
CWE-457

Use of Uninitialized Variable

CWE-908

Use of Uninitialized Resource