Bug 1220216

Summary: VUL-0: CVE-2024-25620: k9s: helm,helm3: dependency management path traversal
Product: [Novell Products] SUSE Security Incidents Reporter: Andrea Mattiazzo <andrea.mattiazzo>
Component: IncidentsAssignee: Johannes Kastl <kastl>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: andrea.mattiazzo, dmueller, meissner, security-team, smash_bz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/394208/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1219969    

Description Andrea Mattiazzo 2024-02-22 14:47:31 UTC
Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. When either the Helm client or SDK is used to save a chart whose name within the `Chart.yaml` file includes a relative path change, the chart would be saved outside its expected directory based on the changes in the relative path. The validation and linting did not detect the path changes in the name. This issue has been resolved in Helm v3.14.1. Users unable to upgrade should check all charts used by Helm for path changes in their name as found in the `Chart.yaml` file. This includes dependencies.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-25620
https://www.cve.org/CVERecord?id=CVE-2024-25620
https://github.com/helm/helm/security/advisories/GHSA-v53g-5gjp-272r
https://bugzilla.redhat.com/show_bug.cgi?id=2264336

Patch:
https://github.com/helm/helm/commit/0d0f91d1ce277b2c8766cdc4c7aa04dbafbf2503
Comment 1 Andrea Mattiazzo 2024-02-22 14:48:27 UTC
Vulnerable version of helm present in:
- SUSE:SLE-15-SP4:Update:Products:ElementalTeal5.3:Update/k9s - helm.sh/helm/v3/pkg/chartutil (v3.11.1)
- SUSE:SLE-15-SP4:Update:Products:ElementalTeal5.4:Update/k9s - helm.sh/helm/v3/pkg/chartutil (v3.11.1)
Comment 2 Andrea Mattiazzo 2024-02-22 14:52:43 UTC
Closing since only under reactive support