CVE Vulnerabilities

CVE-2022-23526

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_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.

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/oc-mirror-plugin-rhel8:v4.14.0-202310201027.p0.g68cf97e.assembly.stream *

Potential Mitigations

References