CVE-2024-26147

Helm's Missing YAML Content Leads To Panic

Published Feb 21, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0709 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.
Github GHSA Github GHSA GHSA-r53h-jv2g-vpx6 Helm's Missing YAML Content Leads To Panic
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el8
Type Values Removed Values Added
First Time appeared Helm
Helm helm
Weaknesses CWE-908
CPEs cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*
Vendors & Products Helm
Helm helm
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.15::el8
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 14, 2024, 7:55 PM
Reserved
Feb 14, 2024, 5:40 PM
Status
Analyzed
Published
Feb 21, 2024, 11:15 PM
Modified
Jun 17, 2026, 7:17 AM
Severity
Moderate
Public date
Feb 22, 2024, 12:00 AM