HIGH7.7
GHSA-h7wq-jj8r-qm7p
Kubernetes Nil pointer dereference in KCM after v1 HPA patch request
Quick fix
GHSA-h7wq-jj8r-qm7p — k8s.io/kubernetes: upgrade to the fixed version with the command below.
go get k8s.io/kubernetes@v1.27.0-alpha.1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/k8s.io/kubernetes
Introduced in:
0Fixed in: 1.27.0-alpha.1Fix
go get k8s.io/kubernetes@v1.27.0-alpha.1References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0793[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/107038#issuecomment-1911327145[WEB]
- https://github.com/openshift/kubernetes/pull/1876[WEB]
- https://access.redhat.com/errata/RHSA-2024:0741[WEB]
- https://access.redhat.com/errata/RHSA-2024:1267[WEB]
- https://access.redhat.com/security/cve/CVE-2024-0793[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2214402[WEB]
- https://github.com/kubernetes/kubernetes[PACKAGE]
- https://pkg.go.dev/vuln/GO-2024-3277[WEB]