Helm Chart extraction output directory collapse via `Chart.yaml` name dot-segment
helm
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| helm.sh/helm/v4 Go |
|
|
| helm.sh/helm/v3 Go |
|
|
Original description
Helm is a package manager for Charts for Kubernetes. In Helm versions <=3.20.1 and <=4.1.3, a specially crafted Chart will cause helm pull --untar [chart URL | repo/chartname] to write the Chart's contents to the immediate output directory (as defaulted to the current working directory; or as given by the --destination and --untardir flags), rather than the expected output directory suffixed by the chart's name. This vulnerability is fixed in 3.20.2 and 4.1.4.