Bug 1219969 (CVE-2024-25620)

Summary: VUL-0: CVE-2024-25620: helm,helm3: dependency management path traversal
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, stoyan.manolov
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/394208/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-25620:6.4:(AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 1220216    
Bug Blocks:    

Description SMASH SMASH 2024-02-15 13:36:30 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-15 13:43:41 UTC
Tracking as affected:
- SUSE:SLE-15-SP1:Update:Products:CASP40:Update/helm                         
- SUSE:SLE-15-SP1:Update:Products:CASP40:Update/helm3        
- SUSE:SLE-15:Update/helm                                                    
- openSUSE:Factory/helm
Comment 2 Marcus Meissner 2024-02-22 14:50:05 UTC
CASP40 is EOL
Comment 4 OBSbugzilla Bot 2024-02-23 21:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1219969) was mentioned in
https://build.opensuse.org/request/show/1150030 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.