CVE-2022-23526
helm: Denial of service through schema file
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | helm | >=3.0.0, <3.10.3 | 3.10.3 |
| Go | helm.sh/helm/v3 | <3.10.3 | 3.10.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift4-oc-mirror-plugin-rhel8 | affected |
| 8 | openshift4-oc-mirror-plugin-rhel8 | affected |
| 8 | servicemesh +3 | wont fix |
| 9 | openshift4-oc-mirror-plugin-rhel8 | affected |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | helm +3 | 3.10.3-150000.1.13.1 | SUSE-SU-2022:4606-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | helm +3 | 3.10.3-2.1 | openSUSE-SU-2024:12572-1 |
| Tumbleweed | helm3 +3 | 3.19.2-1.1 | openSUSE-SU-2025:15779-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-23526
- github.com https://github.com/helm/helm
- github.com https://github.com/helm/helm/commit/bafafa8bb1b571b61d7a9528da8d40c307dade3d
- github.com https://github.com/helm/helm/security/advisories/GHSA-67fx-wx78-jx33
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-23526
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-1166
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-23526
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.