Bug 2154202 (CVE-2022-23525) - CVE-2022-23525 helm: Denial of service through through repository index file
Summary: CVE-2022-23525 helm: Denial of service through through repository index file
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-23525
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: 2155941
Blocks: 2154131
TreeView+ depends on / blocked
 
Reported: 2022-12-16 09:41 UTC by Avinash Hanwate
Modified: 2024-01-31 19:45 UTC (History)
29 users (show)

Fixed In Version: helm.sh/helm/v3 3.10.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Helm. Applications that use the _repo_ package in Helm SDK to parse an index file may suffer a denial of service when that input causes a panic that cannot be recovered from. The Helm Client will panic with an index file that causes a memory violation panic.
Clone Of:
Environment:
Last Closed: 2023-05-18 04:43:49 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:24 UTC

Description Avinash Hanwate 2022-12-16 09:41:50 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 _repo_package. The _repo_ package contains a handler that processes the index file of a repository. For example, the Helm client adds references to chart repositories where charts are managed. The _repo_ package parses the index file of the repository and loads it into structures Go can work with. Some index files can cause array data structures to be created causing a memory violation. Applications that use the _repo_ package in the Helm SDK to parse an index file can suffer a Denial of Service when that input causes a panic that cannot be recovered from. The Helm Client will panic with an index 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. This issue has been patched in 3.10.3. SDK users can validate index files that are correctly formatted before passing them to the _repo_ functions.

https://github.com/helm/helm/commit/638ebffbc2e445156f3978f02fd83d9af1e56f5b
https://github.com/helm/helm/security/advisories/GHSA-53c4-hhmh-vw5q

Comment 14 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 16 errata-xmlrpc 2023-05-17 22:31:10 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 17 Product Security DevOps Team 2023-05-18 04:43:47 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-23525

Comment 18 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.