Vulnerability · Published Oct 15, 2024 · Assigned by kubernetes
CVE-2024-9594VM images built with Image Builder with some providers use default credentials during builds
Medium 6.3
In plain English
A medium-severity hard-coded credentials in Image Builder from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubernetes-sigs/image-builder | 0.1.38 | GHSA-8jpg-62jc-hwhr |
| Go | github.com/kubernetes-sigs/image-builder | 0.1.38 | GO-2024-3204 |
| Ubuntu:22.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2024-9594 |
| Ubuntu:24.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2024-9594 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Image Builder | 0 – through 0.1.37 |
Weakness: CWE-798 · Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/kubernetes/kubernetes/issues/128007 vendor-advisory, issue-tracking
- https://github.com/kubernetes-sigs/image-builder/pull/1596 patch
- https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ mailing-list