Helm is a package manager for Charts for Kubernetes. In Helm versions >=4.0.0 and <=4.1.3, a specially crafted Helm plugin, when installed or updated, will cause Helm to write the contents of the plugin to an arbitrary filesystem location.
Impact
A Helm user who installs or updates a plugin that is specially crafted can cause Helm to attempt to write the content of the affected plugin to an arbitrary location on the user's filesystem. Impacted users risk potentially overwriting user and system files which may further compromise the integrity of a system.
Patches
This issue has been patched in Helm v4.1.4
Installing/updating a plugin with a non-SemVer version (which excludes path traversal patterns) will result in an error.
Workarounds
Validate that the plugin.yaml of the Helm plugin does not include a version: field containing POSIX dot-dot path separators ie. "/../".
References
Helm is a package manager for Charts for Kubernetes. In Helm versions >=4.0.0 and <=4.1.3, a specially crafted Helm plugin, when installed or updated, will cause Helm to write the contents of the plugin to an arbitrary filesystem location.
Impact
A Helm user who installs or updates a plugin that is specially crafted can cause Helm to attempt to write the content of the affected plugin to an arbitrary location on the user's filesystem. Impacted users risk potentially overwriting user and system files which may further compromise the integrity of a system.
Patches
This issue has been patched in Helm v4.1.4
Installing/updating a plugin with a non-SemVer version (which excludes path traversal patterns) will result in an error.
Workarounds
Validate that the
plugin.yamlof the Helm plugin does not include aversion:field containing POSIX dot-dot path separators ie. "/../".References