blob: fcb863cdc0d9f6b08130dff74a369d190809feb6 [file] [log] [blame]
Tatiana Bradleyf1409b02023-05-24 14:02:12 -04001id: GO-2022-1166
Tatiana Bradley4094a082022-12-22 16:29:28 -05002modules:
Tatiana Bradley82175fd2023-05-31 17:04:08 -04003 - module: helm.sh/helm/v3
4 versions:
5 - fixed: 3.10.3
6 vulnerable_at: 3.10.2
7 packages:
8 - package: helm.sh/helm/v3/pkg/chartutil
9 symbols:
10 - ValidateAgainstSingleSchema
11 derived_symbols:
12 - ToRenderValues
13 - ValidateAgainstSchema
Tatiana Bradley6a3b20c2023-06-05 13:34:46 -040014summary: Denial of service via schema file in helm.sh/helm/v3
Tatiana Bradleyccdac2d2023-06-22 13:27:05 -040015description: |-
16 Certain JSON schema validation files can cause a Helm Client to panic, leading
17 to a possible denial of service.
Tatiana Bradley4094a082022-12-22 16:29:28 -050018
19 The chartutil package contains a parser that loads a JSON Schema validation
20 file. For example, the Helm client when rendering a chart will validate its
Tatiana Bradleyccdac2d2023-06-22 13:27:05 -040021 values with the schema file. The chartutil package parses the schema file and
22 loads it into memory, but some schema files can cause array data structures to
23 be created causing a memory violation.
Tatiana Bradley4094a082022-12-22 16:29:28 -050024
25 The Helm Client will panic with a schema file that causes a memory violation
Tatiana Bradleyccdac2d2023-06-22 13:27:05 -040026 panic. Helm is not a long running service so the panic will not affect future
27 uses of the Helm client.
Tatiana Bradley4094a082022-12-22 16:29:28 -050028cves:
Tatiana Bradley82175fd2023-05-31 17:04:08 -040029 - CVE-2022-23526
Tatiana Bradley4094a082022-12-22 16:29:28 -050030ghsas:
Tatiana Bradley82175fd2023-05-31 17:04:08 -040031 - GHSA-67fx-wx78-jx33
Tatiana Bradley09108142023-05-18 16:23:32 -040032credits:
Tatiana Bradley82175fd2023-05-31 17:04:08 -040033 - Ada Logics, in a fuzzing audit sponsored by CNCF
Tatiana Bradley4094a082022-12-22 16:29:28 -050034references:
Tatiana Bradley82175fd2023-05-31 17:04:08 -040035 - advisory: https://github.com/helm/helm/security/advisories/GHSA-67fx-wx78-jx33
36 - fix: https://github.com/helm/helm/commit/bafafa8bb1b571b61d7a9528da8d40c307dade3d