Skip to content
Heist/ feed
Back to feed
High

Helm's Missing YAML Content Leads To Panic

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-26147
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:04 UTC · Revision 1

Source evidence

Helm's Missing YAML Content Leads To Panic

core-osv · Original source

Published 21 Feb 2024, 22:21 UTC

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.

osv:CVE-2024-26147
Complete source record
{
  "id": "c8fc12772620635c2efdf4f1622d3fc74e2802e5af5ac23f3e348197f867f667",
  "url": "https://osv.dev/vulnerability/CVE-2024-26147",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Helm's Missing YAML Content Leads To Panic",
    "summary": "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.",
    "evidence": "osv:CVE-2024-26147",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-26147",
      "aliases": [
        "BIT-helm-2024-26147",
        "CVE-2024-26147",
        "GHSA-r53h-jv2g-vpx6",
        "GO-2024-2575"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/helm/helm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c309b6f0ff63856811846ce18f3bdc93d2b4d54b"
                },
                {
                  "fixed": "bb4cc9125503a923afb7988f3eb478722a8580af"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:helm:helm:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.14.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bb4cc9125503a923afb7988f3eb478722a8580af"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.14.1",
            "v3.14.0",
            "v3.14.0-rc.1",
            "v3.12.0-dev.1",
            "v3.0.0-beta.5",
            "v3.0.0-beta.4",
            "v3.0.0-beta.3",
            "v3.0.0-beta.2",
            "v3.0.0-beta.1",
            "v3.0.0-alpha.2",
            "v3.0.0-alpha.1",
            "v2.8.0-rc.1",
            "v2.7.0",
            "v2.7.0-rc1",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.0",
            "v2.0.0-rc.2",
            "v2.0.0-rc.1",
            "v2.0.0-beta.2",
            "v2.0.0-beta.1",
            "v2.0.0-alpha.5",
            "v2.0.0-alpha.4",
            "v2.0.0-alpha.2",
            "v2.0.0-alpha.1",
            "1.999.0",
            "v1.2",
            "v1.1",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26147.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.982716319Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26147.json",
        "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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-457"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26147.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-26147",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514115,
  "published_at": "2024-02-21T22:21:42.658+00:00"
}