GO-2022-1166

Denial of service via schema file in helm.sh/helm/v3

At a glance

Published
Updated
CVE
CVE-2022-23526
Aliases
BIT-helm-2022-23526, GHSA-67fx-wx78-jx33

Description

Certain JSON schema validation files can cause a Helm Client to panic, leading to a possible denial of service. 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 memory, but some schema files can cause array data structures to be created causing a memory violation. The Helm Client will panic with a schema 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.

Affected packages

PackageVersions
Go · helm.sh/helm/v3introduced 0, fixed 3.10.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database