CVE-2024-0793

Kube-controller-manager: malformed hpa v1 manifest causes crash

7.7 high EPSS 0.59%

Published 17 Nov 2024 Updated 17 Nov 2024 CNA: redhat

Check your servers for CVE-2024-0793

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-0793 affects baremetal-machine-controller-container, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

A flaw was found in kube-controller-manager. This issue occurs when the initial application of a HPA config YAML lacking a .spec.behavior.scaleUp block causes a denial of service due to KCM pods going into restart churn.

Severity (CVSS)

7.7 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.59%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 17 Nov 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-20 Improper Input Validation

Affected products

As the CNA lists them. The first 100 of 168 entries; all of them are in the record on cve.org.

ProductVersions
kube-controller-manager
package kube-controller-manager
affected before 1.27
Other versions: unaffected
Red Hat OpenShift Container Platform 4
package baremetal-machine-controller-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package cluster-etcd-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package cluster-monitoring-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package cluster-network-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package cluster-node-tuning-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package cluster-version-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package configmap-reload-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package coredns-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-attacher-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-driver-manila-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-driver-manila-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-driver-nfs-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-livenessprobe-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-node-driver-registrar-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package csi-provisioner-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package driver-toolkit-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ibm-vpc-node-label-updater-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ironic-rhcos-downloader-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package kube-proxy-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package kube-rbac-proxy-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package kube-state-metrics-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package marketplace-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package multus-cni-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package oauth-server-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package oc-mirror-plugin-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-cli-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-console-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-console-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-deployer-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-haproxy-router-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-hyperkube-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-keepalived-ipfailover-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-pod-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-registry-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-enterprise-tests-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package openshift-state-metrics-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package operator-lifecycle-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package operator-registry-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-agent-installer-api-server-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-agent-installer-csr-approver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-agent-installer-node-agent-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-agent-installer-orchestrator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-alibaba-cloud-controller-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-alibaba-cloud-csi-driver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-alibaba-disk-csi-driver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-alibaba-machine-controllers-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-apiserver-network-proxy-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-aws-cloud-controller-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-aws-cluster-api-controllers-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-aws-ebs-csi-driver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-aws-ebs-csi-driver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-aws-pod-identity-webhook-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-cloud-controller-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-cloud-node-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-cluster-api-controllers-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-disk-csi-driver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-disk-csi-driver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-file-csi-driver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-azure-file-csi-driver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-baremetal-installer-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-baremetal-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-baremetal-runtimecfg-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cli-artifacts-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cloud-credential-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cloud-network-config-controller-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-api-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-authentication-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-autoscaler-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-baremetal-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-bootstrap-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-capi-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-cloud-controller-manager-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-config-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-control-plane-machine-set-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-csi-snapshot-controller-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-dns-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-image-registry-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-ingress-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-kube-apiserver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-kube-cluster-api-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-kube-controller-manager-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-kube-scheduler-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-kube-storage-version-migrator-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-machine-approver-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-openshift-apiserver-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-openshift-controller-manager-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-ovirt-csi-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-platform-operators-manager-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-policy-controller-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-storage-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-cluster-update-keys-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-containernetworking-plugins-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-driver-shared-resource-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-driver-shared-resource-operator-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-driver-shared-resource-webhook-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-external-resizer-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-external-snapshotter-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-snapshot-controller-container
unaffected the record does not list versions
Red Hat OpenShift Container Platform 4
package ose-csi-snapshot-validation-webhook-container
unaffected the record does not list versions

Is my server affected?

Find the installed version of baremetal-machine-controller-container and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i baremetal-machine-controller-container
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-0793 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-0793

RHEL, Rocky, Alma, Fedora

rpm -q baremetal-machine-controller-container
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-0793

Alpine

apk list --installed | grep -i baremetal-machine-controller-container

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-0793
trivy image --scanners vuln IMAGE | grep CVE-2024-0793

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2024-0793 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.