← 返回列表

CVE-2025-7342

单站 Kubernetes Vulnerability Announcements 发布 Mon, 21 Jul 2025 23:22:19 +0000 入库 2026-11-18T06:56:48

Repository navigation

area/security

committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.

kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.

official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC)

sig/cluster-lifecycleCategorizes an issue or PR as relevant to SIG Cluster Lifecycle.Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.

triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.

Description

on Jul 21, 2025

CVSS Rating High 7.5: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

A security issue was discovered in the Kubernetes Image Builder where default credentials are enabled during the Windows image build process when using the Nutanix or VMware OVA providers. These credentials, which allow root access, are disabled at the conclusion of the build. Kubernetes clusters are only affected if their nodes use VM images created via the Image Builder project and the vulnerability was exploited during the build process, which requires an attacker to access the build VM and modify the image while the build is in progress.

Am I vulnerable?

Clusters using virtual machine Windows images built with Kubernetes Image Builder (https://github.com/kubernetes-sigs/image-builder) version v0.1.44 or earlier are affected if built with the Nutanix or OVA provider.

VMs using images built with all other providers are not affected by this issue.

To determine the version of Image Builder you are using, use one of the following methods:

    cd <local path to image builder repo>
    make version
    cd <local path to install location>
    grep -o v0\\.[0-9.]* RELEASE.md | head -1

Affected Versions

How do I mitigate this vulnerability?

Rebuild any affected images using a fixed version of Image Builder. Fixed in Kubernetes Image Builder release v0.1.45

Re-deploy the fixed images to any affected VMs or use image-builder v0.1.41 (February 2025) or later, and set the admin_password JSON variable.

Prior to upgrading, this vulnerability can be mitigated by changing the password of the Administrator account on affected VMs:

net user Administrator <new-password>

Fixed Versions

Fixed in Kubernetes Image Builder release v0.1.45 kubernetes-sigs/image-builder#1800

Detection

Get-LocalUser -Name Administrator | Select-Object Name,Enabled,SID,Lastlogon | Format-List

If you find evidence that this vulnerability has been exploited, please contact security@kubernetes.io

Additional Details

The fixed version requires users to specify a password in the WINDOWS_ADMIN_PASSWORD environment variable or in the admin_password JSON variable. If both are empty, then the image builder would not build the image and return an error.

Acknowledgements

This vulnerability was reported by Abdel Adim Oisfi, Davide Silvetti, Nicolò Daprelà, Paolo Cavaglià, Pietro Tirenna from Shielder.

The issue was fixed and coordinated by Matt Boersma of the Image Builder project.

/area security

/kind bug

/committee security-response

/label official-cve-feed

/sig cluster-lifecycle

Activity

  1. k8s-ci-robotadded needs-sigIndicates an issue or PR lacks a `sig/foo` label and requires one.Indicates an issue or PR lacks a `sig/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.on Jul 21, 2025
  2. ritazhchanged the title ~~[-][placeholder][/-]~~ [+]CVE-2025-7342: VM images built with Kubernetes Image Builder Nutanix or OVA providers use default credentials for Windows images if user did not override[/+] on Jul 21, 2025
  3. ritazh commentedon Jul 21, 2025 MemberAuthorMore actions /area security


    /kind bug
    /committee security-response
    /label official-cve-feed
    /sig cluster-lifecycle
    /triage accepted
  4. k8s-ci-robotadded kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.sig/cluster-lifecycleCategorizes an issue or PR as relevant to SIG Cluster Lifecycle.Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC) and removed needs-sigIndicates an issue or PR lacks a `sig/foo` label and requires one.Indicates an issue or PR lacks a `sig/foo` label and requires one.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.on Jul 21, 2025
  5. ritazh commentedon Jul 21, 2025 MemberAuthorMore actions Fixed by: kubernetes-sigs/image-builder#1800

  6. ritazhclosed this as completedon Aug 19, 2025

Metadata

Metadata

Assignees

Labels

area/security

committee/security-responseDenotes an issue or PR intended to be handled by the product security committee.Denotes an issue or PR intended to be handled by the product security committee.

kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.

official-cve-feedIssues or PRs related to CVEs officially announced by Security Response Committee (SRC)Issues or PRs related to CVEs officially announced by Security Response Committee (SRC)

sig/cluster-lifecycleCategorizes an issue or PR as relevant to SIG Cluster Lifecycle.Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.

triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.

原文链接:https://github.com/kubernetes/kubernetes/issues/133115