Helm vulnerable to Denial of service via NULL Pointer Dereference
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 _repo_package. The _repo_ package contains a handler that processes the index file of a repository. For example, the Helm client adds references to chart repositories where charts are managed. The _repo_ package parses the index file of the repository and loads it into structures Go can work with. Some index files can cause array data structures to be created causing a memory violation. Applications that use the _repo_ package in the Helm SDK to parse an index file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with an index file that causes a memory violation panic. 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 index files that are correctly formatted before passing them to the _repo_ 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
14- osv-coords13 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/cmctl&distro=openSUSE%20Tumbleweedpkg: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+ 12 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: < 1.10.2-1.1
- (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-53c4-hhmh-vw5qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-23525ghsaADVISORY
- github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5bghsax_refsource_MISCWEB
- github.com/helm/helm/security/advisories/GHSA-53c4-hhmh-vw5qghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2022-1165ghsaWEB
News mentions
0No linked articles in our index yet.