CVEfocus › CVE database › CVE-2024-26147

CVE-2024-26147Helm's Missing YAML Content Leads To Panic

CVSS 7.5 HighEPSS 1.1% (higher than 65% of CVEs)Published 2024-02-21Updated 2024-08-14Assigner: GitHub_M

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.

CWE-457

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

1Fixed
1Fix pending
3Under investigation
4Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10helmFix pendingUBUNTU-CVE-2024-26147
Ubuntu 26.04helmUnder investigationUBUNTU-CVE-2024-26147
Ubuntu 25.10helmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-26147
Ubuntu 24.04helmUnder investigationUBUNTU-CVE-2024-26147
Ubuntu 22.04helmUnder investigationUBUNTU-CVE-2024-26147
Ubuntu 20.04helmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-26147
Ubuntu 18.04helmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-26147
Ubuntu 16.04helmWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-26147
Go libraryhelm.sh/helm/v3Fixed3.14.2GHSA-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.

References

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.