All the vulnerabilites related to Kubernetes - Image Builder
cve-2024-9594
Vulnerability from cvelistv5
Published
2024-10-15 20:37
Modified
2024-10-16 16:21
Severity ?
EPSS score ?
Summary
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.
References
▼ | URL | Tags |
---|---|---|
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 |
Impacted products
Vendor | Product | Version | |
---|---|---|---|
▼ | Kubernetes | Image Builder |
Version: 0 ≤ 0.1.37 |
|
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:kubernetes:image_builder:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "image_builder", "vendor": "kubernetes", "versions": [ { "lessThan": "0.1.38", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-9594", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-10-16T16:20:46.180323Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-10-16T16:21:56.147Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Image Builder", "repo": "https://github.com/kubernetes-sigs/image-builder", "vendor": "Kubernetes", "versions": [ { "lessThanOrEqual": "0.1.37", "status": "affected", "version": "0", "versionType": "semver" }, { "status": "unaffected", "version": "0.1.38" } ] } ], "credits": [ { "lang": "en", "type": "reporter", "value": "Nicolai Rybnikar @rybnico from Rybnikar Enterprises GmbH." } ], "datePublic": "2024-10-14T15:25:00.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003eA security issue was discovered in the Kubernetes Image Builder versions \u0026lt;= v0.1.37 where default credentials are enabled during the image build process\u0026nbsp;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.\u003cbr\u003e\u003cbr\u003e\u003c/p\u003e" } ], "value": "A security issue was discovered in the Kubernetes Image Builder versions \u003c= v0.1.37 where default credentials are enabled during the image build process\u00a0when 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." } ], "impacts": [ { "capecId": "CAPEC-395", "descriptions": [ { "lang": "en", "value": "CAPEC-395 Bypassing Electronic Locks and Access Controls" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "HIGH", "attackVector": "ADJACENT_NETWORK", "availabilityImpact": "HIGH", "baseScore": 6.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "VM Images built via Nutanix, OVA, QEMU or raw provider" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-798", "description": "CWE-798 Use of Hard-coded Credentials", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-10-15T20:37:01.308Z", "orgId": "a6081bf6-c852-4425-ad4f-a67919267565", "shortName": "kubernetes" }, "references": [ { "tags": [ "vendor-advisory", "issue-tracking" ], "url": "https://github.com/kubernetes/kubernetes/issues/128007" }, { "tags": [ "patch" ], "url": "https://github.com/kubernetes-sigs/image-builder/pull/1596" }, { "tags": [ "mailing-list" ], "url": "https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ" } ], "solutions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003eRebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs.\u003c/p\u003e" } ], "value": "Rebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs." } ], "source": { "discovery": "EXTERNAL" }, "title": "VM images built with Image Builder with some providers use default credentials during builds", "x_generator": { "engine": "Vulnogram 0.2.0" } } }, "cveMetadata": { "assignerOrgId": "a6081bf6-c852-4425-ad4f-a67919267565", "assignerShortName": "kubernetes", "cveId": "CVE-2024-9594", "datePublished": "2024-10-15T20:37:01.308Z", "dateReserved": "2024-10-07T16:39:37.106Z", "dateUpdated": "2024-10-16T16:21:56.147Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }
cve-2024-9486
Vulnerability from cvelistv5
Published
2024-10-15 20:33
Modified
2024-10-16 18:56
Severity ?
EPSS score ?
Summary
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.
References
▼ | URL | Tags |
---|---|---|
https://github.com/kubernetes/kubernetes/issues/128006 | vendor-advisory, issue-tracking | |
https://github.com/kubernetes-sigs/image-builder/pull/1595 | patch | |
https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ | mailing-list |
Impacted products
Vendor | Product | Version | |
---|---|---|---|
▼ | Kubernetes | Image Builder |
Version: 0 ≤ 0.1.37 |
|
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:kubernetes:image_builder:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "image_builder", "vendor": "kubernetes", "versions": [ { "lessThan": "0.1.38", "status": "affected", "version": "0", "versionType": "semver" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-9486", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-10-16T18:55:30.755505Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-10-16T18:56:40.632Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Image Builder", "repo": "https://github.com/kubernetes-sigs/image-builder", "vendor": "Kubernetes", "versions": [ { "lessThanOrEqual": "0.1.37", "status": "affected", "version": "0", "versionType": "semver" }, { "status": "unaffected", "version": "0.1.38" } ] } ], "credits": [ { "lang": "en", "type": "reporter", "value": "Nicolai Rybnikar @rybnico from Rybnikar Enterprises GmbH." } ], "datePublic": "2024-10-14T15:25:00.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003eA security issue was discovered in the Kubernetes Image Builder versions \u0026lt;= 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.\u003c/p\u003e" } ], "value": "A security issue was discovered in the Kubernetes Image Builder versions \u003c= 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." } ], "impacts": [ { "capecId": "CAPEC-395", "descriptions": [ { "lang": "en", "value": "CAPEC-395 Bypassing Electronic Locks and Access Controls" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "VM Images built via Proxmox provider" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-798", "description": "CWE-798 Use of Hard-coded Credentials", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-10-15T20:33:43.138Z", "orgId": "a6081bf6-c852-4425-ad4f-a67919267565", "shortName": "kubernetes" }, "references": [ { "tags": [ "vendor-advisory", "issue-tracking" ], "url": "https://github.com/kubernetes/kubernetes/issues/128006" }, { "tags": [ "patch" ], "url": "https://github.com/kubernetes-sigs/image-builder/pull/1595" }, { "tags": [ "mailing-list" ], "url": "https://groups.google.com/g/kubernetes-security-announce/c/UKJG-oZogfA/m/Lu1hcnHmAQAJ" } ], "solutions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003eRebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs.\u003c/p\u003e" } ], "value": "Rebuild any affected images using a fixed version of Image Builder. Re-deploy the fixed images to any affected VMs." } ], "source": { "discovery": "EXTERNAL" }, "title": "VM images built with Image Builder and Proxmox provider use default credentials", "workarounds": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "\u003cp\u003ePrior to upgrading, this vulnerability can be mitigated by disabling the builder account on affected VMs:\u003cbr\u003eusermod -L builder\u003c/p\u003e" } ], "value": "Prior to upgrading, this vulnerability can be mitigated by disabling the builder account on affected VMs:\nusermod -L builder" } ], "x_generator": { "engine": "Vulnogram 0.2.0" } } }, "cveMetadata": { "assignerOrgId": "a6081bf6-c852-4425-ad4f-a67919267565", "assignerShortName": "kubernetes", "cveId": "CVE-2024-9486", "datePublished": "2024-10-15T20:33:43.138Z", "dateReserved": "2024-10-03T16:33:36.995Z", "dateUpdated": "2024-10-16T18:56:40.632Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }