CVE Vulnerabilities

CVE-2024-26147

Use of Uninitialized Variable

Published: Feb 21, 2024 | Modified: Feb 22, 2024
CVSS 3.x
N/A
Source:
NVD
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
MEDIUM

Helm is a package manager for Charts for Kubernetes. Versions prior to 3.14.2 contain an uninitialized variable vulnerability when Helm parses index and plugin yaml files missing expected content. When either an index.yaml file or a plugins plugin.yaml file were missing all metadata a panic would occur in Helm. In the Helm SDK, this is found when using the LoadIndexFile or DownloadIndexFile functions in the repo package or the LoadDir function in the plugin package. For the Helm client this impacts functions around adding a repository and all Helm functions if a malicious plugin is added as Helm inspects all known plugins on each invocation. This issue has been resolved in Helm v3.14.2. If a malicious plugin has been added which is causing all Helm client commands to panic, the malicious plugin can be manually removed from the filesystem. If using Helm SDK versions prior to 3.14.2, calls to affected functions can use recover to catch the panic.

Weakness

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Affected Software

Name Vendor Start Version End Version
Red Hat Advanced Cluster Management for Kubernetes 2.9 for RHEL 8 RedHat rhacm2/acm-governance-policy-addon-controller-rhel8:v2.9.3-9 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-central-db-rhel8:4.3.6-2 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-collector-rhel8:4.3.6-3 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-collector-slim-rhel8:4.3.6-1 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-main-rhel8:4.3.6-4 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-operator-bundle:4.3.6-4 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-rhel8-operator:4.3.6-2 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-roxctl-rhel8:4.3.6-2 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-scanner-db-rhel8:4.3.6-3 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.3.6-1 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-scanner-rhel8:4.3.6-3 *
Red Hat Advanced Cluster Security 4.3 RedHat advanced-cluster-security/rhacs-scanner-slim-rhel8:4.3.6-3 *
Red Hat Advanced Cluster Security 4.4 RedHat advanced-cluster-security/rhacs-main-rhel8:4.4.0-17 *
Red Hat OpenShift Container Platform 4.15 RedHat openshift4/ose-console:v4.15.0-202408281825.p0.gbbdbb94.assembly.stream.el8 *
Red Hat OpenShift Container Platform 4.15 RedHat openshift4/ose-azure-cluster-api-controllers-rhel9:v4.15.0-202405130639.p0.g0584f1f.assembly.stream.el9 *
Red Hat OpenShift Container Platform 4.16 RedHat openshift4/ose-console-rhel9:v4.16.0-202406260236.p0.ga7502a0.assembly.stream.el9 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/argocd-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/argo-rollouts-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/console-plugin-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/dex-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-operator-bundle:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/gitops-rhel8-operator:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/kam-delivery-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.11 RedHat openshift-gitops-1/must-gather-rhel8:v1.11.6-2 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/argocd-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/argo-rollouts-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/console-plugin-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/dex-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-operator-bundle:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/gitops-rhel8-operator:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/kam-delivery-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 RedHat openshift-gitops-1/must-gather-rhel8:v1.12.4-5 *
Red Hat OpenShift GitOps 1.12 - RHEL 9 RedHat openshift-gitops-argocd-rhel9-container-v1.12.4-1 *
Helm Ubuntu bionic *
Helm Ubuntu mantic *
Helm Ubuntu xenial *

Potential Mitigations

References