Bug 2214402 (CVE-2024-0793) - CVE-2024-0793 kube-controller-manager: malformed HPA v1 manifest causes crash
Summary: CVE-2024-0793 kube-controller-manager: malformed HPA v1 manifest causes crash
Keywords:
Status: NEW
Alias: CVE-2024-0793
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2213618
TreeView+ depends on / blocked
 
Reported: 2023-06-12 21:05 UTC by Anten Skrabec
Modified: 2024-03-20 01:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:1267 0 None None None 2024-03-20 01:51:00 UTC

Description Anten Skrabec 2023-06-12 21:05:53 UTC
The problem in particular is with the annotation "
autoscaling.alpha.kubernetes.io/behavior" when it doesn't have a definition
for scaling up, The cluster accepts the manifest but it seems that it fills
with "nil" the scale up portion and it causes the kube-controller-manager
pods to crash and go into crashloopbackoff.

The logs of the kube-controller-manager component show an error referencing
invalid memory address or nil pointer dereference which causes the pod to
die.

Comment 7 errata-xmlrpc 2024-03-20 01:50:59 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.12

Via RHSA-2024:1267 https://access.redhat.com/errata/RHSA-2024:1267


Note You need to log in before you can comment on or make changes to this bug.