CVE-2024-9594
VM images built with Image Builder with some providers use default credentials during builds in github.com/kubernetes-sigs/image-builder
Auswirkung
A security issue was discovered in the Kubernetes Image Builder versions <= v0.1.37 where default credentials are enabled during the image build process when using the Nutanix, OVA, QEMU or raw providers. The credentials can be used to gain root access. The credentials are disabled at the conclusion of the image build process. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project. Because these images were vulnerable during the image build process, they are affected only if an attacker was able to reach the VM where the image build was happening and used the vulnerability to modify the image at the time the image build was occurring.
Ein Angreifer kann die Lücke aus demselben lokalen Netzwerk ausnutzen, mit einem Administratorkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/kubernetes-sigs/image-builder | < 0.1.38 | 0.1.38 |
Betroffene Produkte · Kubernetes-sigs
| Produkt | Betroffene Versionen |
|---|---|
| Image Builder | vor 0.1.38 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/kubernetes-sigs/image-builder/pull/1596
- https://github.com/kubernetes/kubernetes/issues/128007
- https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ
- https://github.com/advisories/GHSA-8jpg-62jc-hwhr
- https://nvd.nist.gov/vuln/detail/CVE-2024-9594