CVEfocus › CVE database › CVE-2024-9594

CVE-2024-9594VM images built with Image Builder with some providers use default credentials during…

CVSS 6.3 MediumEPSS 1.1% (higher than 65% of CVEs)Published 2024-10-15Updated 2024-10-16Assigner: kubernetes

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.

CWE-798

What to do

Fixed builds are available from Go: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

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

1Fixed
1Fix pending
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04kubernetesNot affected
vulnerable_code_not_present
Ubuntu 22.04kubernetesNot affected
vulnerable_code_not_present
Ubuntu 20.04kubernetesFix pending
Go librarygithub.com/kubernetes-sigs/image-builderFixed0.1.38GHSA-8jpg-62jc-hwhr

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.

Solution: Rebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs.

Vendor advisories:

References

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.