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.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.7%top 22.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/kubernetes-sigs/image-builder0.1.38GHSA-8jpg-62jc-hwhr
Gogithub.com/kubernetes-sigs/image-builder0.1.38GO-2024-3204
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2024-9594
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2024-9594

Affected products (as reported)

VendorProductVersions
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