Denial of service in Helm
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
helm.sh/helm/v3Go | < 3.9.4 | 3.9.4 |
Affected products
14- osv-coords13 versionspkg:apk/chainguard/helm-fipspkg:apk/chainguard/helm-fips-3pkg:apk/chainguard/helm-fips-4pkg:bitnami/helmpkg:golang/helm.sh/helm/v3pkg:rpm/opensuse/helm3&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/helm&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/helm&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/helm&distro=openSUSE%20Tumbleweedpkg:rpm/suse/helm&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3pkg:rpm/suse/helm&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4pkg:rpm/suse/helm&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3pkg:rpm/suse/helm&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4
< 0+ 12 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: >= 3.0.0, < 3.9.4
- (no CPE)range: < 3.9.4
- (no CPE)range: < 3.19.2-1.1
- (no CPE)range: < 3.9.4-150000.1.10.3
- (no CPE)range: < 3.9.4-150000.1.10.3
- (no CPE)range: < 3.9.4-2.1
- (no CPE)range: < 3.9.4-150000.1.10.3
- (no CPE)range: < 3.9.4-150000.1.10.3
- (no CPE)range: < 3.9.4-150000.1.10.3
- (no CPE)range: < 3.9.4-150000.1.10.3
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7hfp-qfw3-5jxhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-36055ghsaADVISORY
- github.com/helm/helm/commit/10466e3e179cc8cad4b0bb451108d3c442c69fbcghsaWEB
- github.com/helm/helm/releases/tag/v3.9.4ghsax_refsource_MISCWEB
- github.com/helm/helm/security/advisories/GHSA-7hfp-qfw3-5jxhghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2022-0962ghsaWEB
News mentions
0No linked articles in our index yet.