Bug 2265440 (CVE-2024-26147) - CVE-2024-26147 helm: Missing YAML Content Leads To Panic
Summary: CVE-2024-26147 helm: Missing YAML Content Leads To Panic
Keywords:
Status: NEW
Alias: CVE-2024-26147
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
: 2268195 (view as bug list)
Depends On: 2265441 2265442 2265445
Blocks: 2265439 2268195
TreeView+ depends on / blocked
 
Reported: 2024-02-22 01:43 UTC by Patrick Del Bello
Modified: 2025-04-30 07:12 UTC (History)
36 users (show)

Fixed In Version: Helm 3.14.2
Clone Of:
: 2268195 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:1328 0 None None None 2024-03-14 14:48:46 UTC
Red Hat Product Errata RHSA-2024:1549 0 None None None 2024-03-27 18:47:36 UTC
Red Hat Product Errata RHSA-2024:1570 0 None None None 2024-03-28 20:50:12 UTC
Red Hat Product Errata RHSA-2024:2865 0 None None None 2024-05-21 09:38:10 UTC
Red Hat Product Errata RHSA-2024:4156 0 None None None 2024-07-03 11:30:00 UTC
Red Hat Product Errata RHSA-2024:4163 0 None None None 2024-06-27 12:38:22 UTC
Red Hat Product Errata RHSA-2024:4626 0 None None None 2024-07-18 13:37:48 UTC
Red Hat Product Errata RHSA-2024:6013 0 None None None 2024-09-05 05:56:46 UTC
Red Hat Product Errata RHSA-2025:4177 0 None None None 2025-04-30 07:12:18 UTC

Description Patrick Del Bello 2024-02-22 01:43:47 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.

https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6

Comment 2 ybuenos 2024-03-06 15:42:06 UTC
*** Bug 2268195 has been marked as a duplicate of this bug. ***

Comment 3 errata-xmlrpc 2024-03-14 14:48:43 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8

Via RHSA-2024:1328 https://access.redhat.com/errata/RHSA-2024:1328

Comment 4 errata-xmlrpc 2024-03-27 18:47:32 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Security 4.3

Via RHSA-2024:1549 https://access.redhat.com/errata/RHSA-2024:1549

Comment 5 errata-xmlrpc 2024-03-28 20:50:08 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Security 4.4

Via RHSA-2024:1570 https://access.redhat.com/errata/RHSA-2024:1570

Comment 6 errata-xmlrpc 2024-05-21 09:38:06 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2024:2865 https://access.redhat.com/errata/RHSA-2024:2865

Comment 10 errata-xmlrpc 2024-06-27 12:38:16 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.12
  Red Hat OpenShift GitOps 1.12 - RHEL 9

Via RHSA-2024:4163 https://access.redhat.com/errata/RHSA-2024:4163

Comment 11 errata-xmlrpc 2024-07-03 11:29:57 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.16

Via RHSA-2024:4156 https://access.redhat.com/errata/RHSA-2024:4156

Comment 12 errata-xmlrpc 2024-07-18 13:37:44 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift GitOps 1.11

Via RHSA-2024:4626 https://access.redhat.com/errata/RHSA-2024:4626

Comment 13 errata-xmlrpc 2024-09-05 05:56:43 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.15

Via RHSA-2024:6013 https://access.redhat.com/errata/RHSA-2024:6013

Comment 16 errata-xmlrpc 2025-04-30 07:12:13 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

Via RHSA-2025:4177 https://access.redhat.com/errata/RHSA-2025:4177


Note You need to log in before you can comment on or make changes to this bug.