Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-36055 BIT-helm-2022-36055EUVD-2022-6504GHSA-7hfp-qfw3-5jxhGO-2022-0962

Denial of service in Helm

Published Sep 1, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Helm is a tool for managing Charts. Charts are packages of pre-configured Kubernetes resources. Fuzz testing, provided by the CNCF, identified input to functions in the _strvals_ package that can cause an out of memory panic. The _strvals_ package contains a parser that turns strings in to Go structures. The _strvals_ package converts these strings into structures Go can work with. Some string inputs can cause array data structures to be created causing an out of memory panic. Applications that use the _strvals_ package in the Helm SDK to parse user supplied input can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with input to `--set`, `--set-string`, and other value setting flags that causes an out of memory panic. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been resolved in 3.9.4. SDK users can validate strings supplied by users won't create large arrays causing significant memory usage before passing them to the _strvals_ functions.

Affected products

VendorProductAffectedFixed
helm helm < 3.9.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP4 helm 3.9.4-150000.1.10.3 SUSE-SU-2022:3666-1
SLES 15 SP3 helm 3.9.4-150000.1.10.3 SUSE-SU-2022:3666-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed helm 3.9.4-2.1 openSUSE-SU-2024:12323-1
openSUSE Tumbleweed helm3 3.19.2-1.1 openSUSE-SU-2025:15779-1
openSUSE Leap 15.4 helm 3.9.4-150000.1.10.3 SUSE-SU-2022:3666-1
openSUSE Leap 15.3 helm 3.9.4-150000.1.10.3 SUSE-SU-2022:3666-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) helm 3.9.4-2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go helm.sh/helm/v3 < 3.9.4 3.9.4 GHSA-7hfp-qfw3-5jxh

Advisories 5

References