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: 2024-04-28 18:11 UTC (History)
33 users (show)

Fixed In Version: Helm 3.14.2
Doc Type: ---
Doc Text:
A vulnerability was found in Helm. This flaw may lead to a panic when Helm parses index and plugin yaml files missing expected content, leading to a denial of service.
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

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


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