CVE-2024-9486VM images built with Image Builder and Proxmox provider use default credentials
A security issue was discovered in the Kubernetes Image Builder versions <= v0.1.37 where default credentials are enabled during the image build process. Virtual machine images built using the Proxmox provider do not disable these default credentials, and nodes using the resulting images may be accessible via these default credentials. The credentials can be used to gain root access. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project with its Proxmox provider.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | kubernetes | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | kubernetes | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | kubernetes | Not affected vulnerable_code_not_present | ||
| Go library | github.com/kubernetes-sigs/image-builder | Fixed | 0.1.38 | GHSA-9224-ggvw-wh7v |
What the vendor says
As published in the CVE record by kubernetes, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Kubernetes Image Builder: affected: up to 0.1.37, 0.1.38 not affected
Solution: Rebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs.
Workaround: Prior to upgrading, this vulnerability can be mitigated by disabling the builder account on affected VMs: usermod -L builder
Vendor advisories:
- https://github.com/kubernetes/kubernetes/issues/128006 (vendor-advisory)
- https://github.com/kubernetes-sigs/image-builder/pull/1595 (patch)
References
- https://github.com/kubernetes/kubernetes/issues/128006
- https://github.com/kubernetes-sigs/image-builder/pull/1595
- https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.