Bug 2154196 (CVE-2022-23526) - CVE-2022-23526 helm: Denial of service through schema file
Summary: CVE-2022-23526 helm: Denial of service through schema file
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-23526
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2155938 2155941 2157899
Blocks: 2154131
TreeView+ depends on / blocked
 
Reported: 2022-12-16 09:27 UTC by Avinash Hanwate
Modified: 2023-10-31 12:54 UTC (History)
50 users (show)

Fixed In Version: helm.sh/helm/v3 3.10.3
Clone Of:
Environment:
Last Closed: 2023-05-18 04:32:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:1326 0 None None None 2023-05-17 22:31:12 UTC
Red Hat Product Errata RHSA-2023:1646 0 None None None 2023-04-11 07:54:59 UTC
Red Hat Product Errata RHSA-2023:5006 0 None None None 2023-10-31 12:54:25 UTC

Description Avinash Hanwate 2022-12-16 09:27:51 UTC
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.

https://github.com/helm/helm/security/advisories/GHSA-67fx-wx78-jx33
https://github.com/helm/helm/commit/bafafa8bb1b571b61d7a9528da8d40c307dade3d

Comment 3 Anten Skrabec 2022-12-23 00:27:30 UTC
Created golang-helm-3 tracking bugs for this issue:

Affects: fedora-all [bug 2155938]

Comment 22 errata-xmlrpc 2023-04-11 07:54:57 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2023:1646 https://access.redhat.com/errata/RHSA-2023:1646

Comment 24 errata-xmlrpc 2023-05-17 22:31:09 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.13

Via RHSA-2023:1326 https://access.redhat.com/errata/RHSA-2023:1326

Comment 25 Product Security DevOps Team 2023-05-18 04:32:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-23526

Comment 26 errata-xmlrpc 2023-10-31 12:54:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.14

Via RHSA-2023:5006 https://access.redhat.com/errata/RHSA-2023:5006


Note You need to log in before you can comment on or make changes to this bug.