GitHub Advisory Database
GHSA-h7wq-jj8r-qm7p
Kubernetes Nil pointer dereference in KCM after v1 HPA patch request
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | k8s.io/kubernetes | All versions before 1.27.0-alpha.1 (fixed in 1.27.0-alpha.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0793
- https://github.com/kubernetes/kubernetes/issues/107038#issuecomment-1911327145
- https://github.com/openshift/kubernetes/pull/1876
- https://access.redhat.com/errata/RHSA-2024:0741
- https://access.redhat.com/errata/RHSA-2024:1267
- https://access.redhat.com/security/cve/CVE-2024-0793
- https://bugzilla.redhat.com/show_bug.cgi?id=2214402
- https://github.com/kubernetes/kubernetes
- https://pkg.go.dev/vuln/GO-2024-3277