CVE Vulnerabilities

CVE-2022-23525

NULL Pointer Dereference

Published: Dec 15, 2022 | Modified: Dec 20, 2022
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu

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.

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Helm Helm 3.0.0 (including) 3.10.3 (excluding)
Red Hat OpenShift Container Platform 4.12 RedHat openshift4/metallb-rhel8-operator:v4.12.0-202303301557.p0.g270d2eb.assembly.stream *
Red Hat OpenShift Container Platform 4.13 RedHat openshift4/oc-mirror-plugin-rhel8:v4.13.0-202305091542.p0.gbee629a.assembly.stream *
Red Hat OpenShift Container Platform 4.13 RedHat openshift4/ose-olm-rukpak-rhel8:v4.13.0-202304190216.p0.g66b3e55.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-alibaba-cloud-csi-driver-container-rhel8:v4.14.0-202310201027.p0.g3dc363d.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-alibaba-disk-csi-driver-operator-container-rhel8:v4.14.0-202310201027.p0.g7e0204a.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-aws-ebs-csi-driver-rhel8:v4.14.0-202310201027.p0.g2e2e277.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-aws-ebs-csi-driver-rhel8-operator:v4.14.0-202310201027.p0.g024bec5.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-azure-disk-csi-driver-rhel8:v4.14.0-202310201027.p0.gb19eec1.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-azure-disk-csi-driver-rhel8-operator:v4.14.0-202310201027.p0.g4db2f8a.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-azure-file-csi-driver-rhel8:v4.14.0-202310201027.p0.gf401f53.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-baremetal-machine-controllers:v4.14.0-202310201027.p0.g412acb3.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-baremetal-rhel8-operator:v4.14.0-202310201027.p0.g8643f32.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-baremetal-operator-rhel8:v4.14.0-202310201027.p0.g6d5d518.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-csi-snapshot-controller-rhel8-operator:v4.14.0-202310201027.p0.g5d8bae8.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-dns-operator:v4.14.0-202310211345.p0.g5553a22.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-olm-operator-rhel8:v4.14.0-202310201027.p0.g9e05f32.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-platform-operators-manager-rhel8:v4.14.0-202310201027.p0.g08fb27e.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-cluster-storage-operator:v4.14.0-202310201027.p0.gdbb1514.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-driver-shared-resource-operator-rhel8:v4.14.0-202310201027.p0.g73ddf3e.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-driver-shared-resource-rhel8:v4.14.0-202310201027.p0.g740b442.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-external-attacher:v4.14.0-202310201027.p0.g06e8ce0.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-external-attacher-rhel8:v4.14.0-202310201027.p0.g06e8ce0.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-snapshot-controller:v4.14.0-202310201027.p0.g0bf9276.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-csi-snapshot-controller-rhel8:v4.14.0-202310201027.p0.g0bf9276.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-gcp-pd-csi-driver-operator-rhel8:v4.14.0-202310201027.p0.g92376a4.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-gcp-pd-csi-driver-rhel8:v4.14.0-202310201027.p0.g8a626fe.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-hyperkube-rhel9:v4.14.0-202310210404.p0.gf67aeb3.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-ibm-vpc-block-csi-driver-operator-rhel8:v4.14.0-202310201027.p0.gfaf68ed.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-ibm-vpc-block-csi-driver-rhel8:v4.14.0-202310201027.p0.g02471d9.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-ibm-vpc-node-label-updater-rhel8:v4.14.0-202310201027.p0.g44a2b94.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-image-customization-controller-rhel8:v4.14.0-202310201027.p0.g2dda87a.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-kube-state-metrics:v4.14.0-202310201027.p0.gdb0c549.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-machine-api-provider-gcp-rhel8:v4.14.0-202310201027.p0.ga676e6b.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-olm-operator-controller-rhel8:v4.14.0-202310201027.p0.g1734329.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-olm-rukpak-rhel8:v4.14.0-202310201027.p0.gdaa5073.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-openshift-state-metrics-rhel8:v4.14.0-202310201027.p0.gdff4b0f.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-operator-marketplace:v4.14.0-202310201027.p0.ga367cea.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-pod:v4.14.0-202310210404.p0.gf67aeb3.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-powervs-block-csi-driver-operator-rhel8:v4.14.0-202310201027.p0.g48b56bb.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-powervs-block-csi-driver-rhel8:v4.14.0-202310201027.p0.ge9694ce.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-powervs-cloud-controller-manager-rhel8:v4.14.0-202310201027.p0.g0a89a6e.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-prometheus:v4.14.0-202310201027.p0.gbcb475d.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-prometheus-alertmanager:v4.14.0-202310201027.p0.ge372516.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-prometheus-node-exporter:v4.14.0-202310201027.p0.g5ee0a9d.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-telemeter:v4.14.0-202310201027.p0.gc8b876a.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-thanos-rhel8:v4.14.0-202310201027.p0.g175a630.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-vmware-vsphere-csi-driver-rhel8:v4.14.0-202310201027.p0.ga5ed57f.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-vsphere-csi-driver-rhel8:v4.14.0-202310201027.p0.ga5ed57f.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-vsphere-csi-driver-syncer-rhel8:v4.14.0-202310201027.p0.ga5ed57f.assembly.stream *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-vsphere-problem-detector-rhel8:v4.14.0-202310201027.p0.g6b359ea.assembly.stream *

Potential Mitigations

References