GHSA-8jpg-62jc-hwhr

Suggest an improvement
Source
https://github.com/advisories/GHSA-8jpg-62jc-hwhr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-8jpg-62jc-hwhr/GHSA-8jpg-62jc-hwhr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8jpg-62jc-hwhr
Aliases
Published
2024-10-15T21:30:39Z
Modified
2024-11-08T22:16:25Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 5.4 (Medium) CVSS_V4 - CVSS:4.0/AV:A/AC:L/AT:P/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
VM images built with Image Builder with some providers use default credentials during builds 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 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.

Database specific
{
    "nvd_published_at": "2024-10-15T21:15:11Z",
    "cwe_ids": [
        "CWE-798"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-10-17T20:28:43Z"
}
References

Affected packages

Go / github.com/kubernetes-sigs/image-builder

Package

Name
github.com/kubernetes-sigs/image-builder
View open source insights on deps.dev
Purl
pkg:golang/github.com/kubernetes-sigs/image-builder

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.1.38