CVE-2022-36055
helm: memory panic
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-400, CWE-770
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | helm | >=3.0.0, <3.9.4 | 3.9.4 |
| Go | helm.sh/helm/v3 | <3.9.4 | 3.9.4 |
Open a package to see all its vulnerabilities.
Operating systems · 4 fixes
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | helm +3 | 3.9.4-150000.1.10.3 | SUSE-SU-2022:3666-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | helm3 +3 | 3.19.2-1.1 | openSUSE-SU-2025:15779-1 |
| Tumbleweed | helm +3 | 3.9.4-2.1 | openSUSE-SU-2024:12323-1 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| helm-fips +2 | not affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-36055
- github.com https://github.com/helm/helm
- github.com https://github.com/helm/helm/commit/10466e3e179cc8cad4b0bb451108d3c442c69fbc
- github.com https://github.com/helm/helm/releases/tag/v3.9.4
- github.com https://github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxh
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-36055
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0962
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-36055
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.