Описание
KubeVirt is a virtual machine management add-on for Kubernetes. Prior to 1.5.3 and 1.6.1, a vulnerability was discovered that allows a VM to read arbitrary files from the virt-launcher pod's file system. This issue stems from improper symlink handling when mounting PVC disks into a VM. Specifically, if a malicious user has full or partial control over the contents of a PVC, they can create a symbolic link that points to a file within the virt-launcher pod's file system. Since libvirt can treat regular files as block devices, any file on the pod's file system that is symlinked in this way can be mounted into the VM and subsequently read. Although a security mechanism exists where VMs are executed as an unprivileged user with UID 107 inside the virt-launcher container, limiting the scope of accessible resources, this restriction is bypassed due to a second vulnerability. The latter causes the ownership of any file intended for mounting to be changed to the unprivileged user with UID 107 prior to mounting. As a result, an attacker can gain access to and read arbitrary files located within the virt-launcher pod's file system or on a mounted PVC from within the guest VM. This vulnerability is fixed in 1.5.3 and 1.6.1.
A symlink handling flaw has been discovered in KubeVirt. Mounting a user-controlled PVC disk within a VM allows an attacker to read any file present in the virt-launcher pod. This is due to erroneous handling of symlinks defined within a PVC. This vulnerability breaches the container-to-VM isolation boundary, compromising the confidentiality of storage data.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubemacpool-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-tekton-tasks-create-datavolume-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-tekton-tasks-disk-virt-customize-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/mtq-controller-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/mtq-lock-server-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/mtq-operator-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/ocp-virt-validation-checkup-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/passt-network-binding-plugin-cni-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/passt-network-binding-plugin-sidecar-rhel9 | Fix deferred | ||
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/sidecar-shim-rhel9 | Fix deferred |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
KubeVirt is a virtual machine management add-on for Kubernetes. Prior to 1.5.3 and 1.6.1, a vulnerability was discovered that allows a VM to read arbitrary files from the virt-launcher pod's file system. This issue stems from improper symlink handling when mounting PVC disks into a VM. Specifically, if a malicious user has full or partial control over the contents of a PVC, they can create a symbolic link that points to a file within the virt-launcher pod's file system. Since libvirt can treat regular files as block devices, any file on the pod's file system that is symlinked in this way can be mounted into the VM and subsequently read. Although a security mechanism exists where VMs are executed as an unprivileged user with UID 107 inside the virt-launcher container, limiting the scope of accessible resources, this restriction is bypassed due to a second vulnerability. The latter causes the ownership of any file intended for mounting to be changed to the unprivileged user with UID 107
Security update for kubevirt, virt-api-container, virt-controller-container, virt-exportproxy-container, virt-exportserver-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container, virt-pr-helper-container
EPSS
6.5 Medium
CVSS3