CVE-2024-0793: Kube-controller-manager: malformed hpa v1 manifest causes crash

Published Jun 12, 2023
·
Updated

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.

Other sources

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.

Red Hat

Affected Software

2 affected componentsFixes available
go/k8s.io/kubernetes<1.27.0-alpha.1
1.27.0-alpha.1
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/k8s.io/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.27.0-alpha.1

Event History

Jun 12, 2023
Data Sourced
via Red Hat·09:05 PM
DescriptionSeverityAffected Software
Nov 17, 2024
CVE Published
via MITRE·10:45 AM
Data Sourced
via MITRE·10:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What level of access is needed to trigger the failure?

An attacker needs privileges to initially apply an HPA configuration YAML to the cluster. The affected manifest includes the autoscaling.alpha.kubernetes.io/behavior annotation without a scaling-up definition.

2

Which environments are exposed?

Clusters are exposed when kube-controller-manager processes an initially applied HPA manifest with the malformed behavior configuration. The provided data does not establish whether any default configuration creates such a manifest.

3

How can administrators tell whether this is occurring?

Affected kube-controller-manager pods enter restart churn or CrashLoopBackOff. Their logs show an error referring to an invalid memory address or nil pointer dereference before the pod dies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203