Advisory

GO-2022-1166

Also known as: BIT-helm-2022-23526, CVE-2022-23526, GHSA-67fx-wx78-jx33

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-12-22 22:30 UTC
Modified
2026-02-04 04:39 UTC

Affected packages and fixes

helm.sh/helm/v3

Go · All systems

Affected

  • introduced 0, fixed 3.10.3 (semver)

Fixed versions

3.10.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences