Bug 1220207 (CVE-2024-26147) - VUL-0: TRACKERBUG: CVE-2024-26147: helm: Missing YAML Content Leads To Panic
Summary: VUL-0: TRACKERBUG: CVE-2024-26147: helm: Missing YAML Content Leads To Panic
Status: NEW
Alias: CVE-2024-26147
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Johannes Kastl
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/394817/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26147:5.9:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 13:34 UTC by SMASH SMASH
Modified: 2024-04-08 12:31 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-22 13:34:30 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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26147
https://www.cve.org/CVERecord?id=CVE-2024-26147
https://github.com/helm/helm/commit/bb4cc9125503a923afb7988f3eb478722a8580af
https://github.com/helm/helm/security/advisories/GHSA-r53h-jv2g-vpx6
https://bugzilla.redhat.com/show_bug.cgi?id=2265440
Comment 1 Thomas Leroy 2024-02-22 13:40:13 UTC
Only k9s packages embed the affected Go pkg helm/v3/pkg/plugin.
Comment 2 Dirk Mueller 2024-02-23 11:05:23 UTC
dependabot is working on it: https://github.com/derailed/k9s/pull/2555
Comment 3 OBSbugzilla Bot 2024-02-23 11:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1220207) was mentioned in
https://build.opensuse.org/request/show/1149779 Factory / helm
Comment 5 Maintenance Automation 2024-04-08 12:31:04 UTC
SUSE-SU-2024:1137-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1219969, 1220207
CVE References: CVE-2024-25620, CVE-2024-26147
Maintenance Incident: [SUSE:Maintenance:32773](https://smelt.suse.de/incident/32773/)
Sources used:
openSUSE Leap 15.5 (src):
 helm-3.13.3-150000.1.32.1
Containers Module 15-SP5 (src):
 helm-3.13.3-150000.1.32.1
SUSE Package Hub 15 15-SP5 (src):
 helm-3.13.3-150000.1.32.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.