GO-2022-1166

Source
https://pkg.go.dev/vuln/GO-2022-1166
Import Source
https://vuln.go.dev/ID/GO-2022-1166.json
Aliases
Published
2022-12-22T22:30:45Z
Modified
2023-12-06T01:01:59.142351Z
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.

References

Affected packages

Go / helm.sh/helm/v3

Package

Affected ranges

Type
SEMVER
Events
Introduced
0The exact introduced commit is unknown
Fixed
3.10.3

Ecosystem specific

{
    "imports": [
        {
            "path": "helm.sh/helm/v3/pkg/chartutil",
            "symbols": [
                "ToRenderValues",
                "ValidateAgainstSchema",
                "ValidateAgainstSingleSchema"
            ]
        }
    ]
}