CVE-2024-9486: Github.com/kubernetes sigs/image builder VM Images Built With Image Vulnerability
CRITICALCVE-2024-9486 is a CRITICAL (CVSS 9.8) vm images built with image vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Github.com/kubernetes sigs/image builder libraries in the Go ecosystem. The issue involves vm images built with image builder and proxmox provider use default credentials in github.com/kubernetes-sigs/image-builder. Remediation is available by upgrading affected packages to version 0.1.38.
CVE-2024-9486 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-9486
To remediate this vulnerability, upgrade all affected Github.com/kubernetes sigs/image builder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/kubernetes-sigs/image-builder to 0.1.38
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kubernetes-sigs/image-builder
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-9486, inspect your project dependencies for Github.com/kubernetes sigs/image builder:
inspect dependencies for github.com/kubernetes-sigs/image-builder
Analyze the terminal output to locate any version of Github.com/kubernetes sigs/image builder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.38), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. In Github.com/kubernetes sigs/image builder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-9486 Affected Github.com/kubernetes sigs/image builder Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kubernetes-sigs/image-builder
|
Go |
< 0.1.38
|
0.1.38
|
References
Frequently Asked Questions
What is CVE-2024-9486?
Which Github.com/kubernetes sigs/image builder versions are affected?
What version fixes CVE-2024-9486?
Is github.com/kubernetes-sigs/image-builder affected?
What is the CVSS score of CVE-2024-9486?
What CWE is associated with CVE-2024-9486?
How can I check Go dependencies for CVE-2024-9486?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9224-ggvw-wh7v",
"modified" : "2024-11-08T22:16:35Z",
"published" : "2024-10-15T21:30:39Z",
"aliases" : [ "CVE-2024-9486" ],
"summary" : "VM images built with Image Builder and Proxmox provider use default credentials in github.com/kubernetes-sigs/image-builder",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kubernetes-sigs/image-builder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.38"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9486"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/128006"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes-sigs/image-builder/pull/1595"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes-sigs/image-builder"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-798" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-17T20:28:15Z",
"nvd_published_at" : "2024-10-15T21:15:11Z"
}
}