Helm contains Denial of service through schema file
Description
Helm is a tool for managing Charts, pre-configured Kubernetes resources. Versions prior to 3.10.3 are subject to NULL Pointer Dereference in the_chartutil_ package that can cause a segmentation violation. The _chartutil_ package contains a parser that loads a JSON Schema validation file. For example, the Helm client when rendering a chart will validate its values with the schema file. The _chartutil_ package parses the schema file and loads it into structures Go can work with. Some schema files can cause array data structures to be created causing a memory violation. Applications that use the _chartutil_ package in the Helm SDK to parse a schema file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. Helm is not a long running service so the panic will not affect future uses of the Helm client. This issue has been patched in 3.10.3. SDK users can validate schema files that are correctly formatted before passing them to the _chartutil_ 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.10.3 | 3.10.3 |
Affected products
13- osv-coords12 versionspkg:apk/chainguard/flux-helm-controller-0.37pkg: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%20SP4pkg:rpm/suse/helm&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4
< 0.27.0-r7+ 11 more
- (no CPE)range: < 0.27.0-r7
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: >= 3.0.0, < 3.10.3
- (no CPE)range: < 3.10.3
- (no CPE)range: < 3.19.2-1.1
- (no CPE)range: < 3.10.3-150000.1.13.1
- (no CPE)range: < 3.10.3-150000.1.13.1
- (no CPE)range: < 3.10.3-2.1
- (no CPE)range: < 3.10.3-150000.1.13.1
- (no CPE)range: < 3.10.3-150000.1.13.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-67fx-wx78-jx33ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23526ghsaADVISORY
- github.com/helm/helm/commit/bafafa8bb1b571b61d7a9528da8d40c307dade3dghsax_refsource_MISCWEB
- github.com/helm/helm/security/advisories/GHSA-67fx-wx78-jx33ghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2022-1166ghsaWEB
News mentions
0No linked articles in our index yet.