Description
KubeVirt is a virtual machine management add-on for Kubernetes. In versions before 1.5.3 and 1.6.1, the virt-handler does not verify whether the launcher-sock is a symlink or a regular file. This oversight can be exploited, for example, to change the ownership of arbitrary files on the host node to the unprivileged user with UID 107 (the same user used by virt-launcher) thus, compromising the CIA (Confidentiality, Integrity and Availability) of data on the host. To successfully exploit this vulnerability, an attacker should be in control of the file system of the virt-launcher pod. This vulnerability is fixed in 1.5.3 and 1.6.1.
Problem types
CWE-59: Improper Link Resolution Before File Access ('Link Following')
Product status
>= 1.6.0-alpha.0, < 1.6.1
References
github.com/...bevirt/security/advisories/GHSA-2r4r-5x78-mvqf
github.com/...ommit/3ce9f41c54d04a65f10b23a46771391c00659afb
github.com/...ommit/8644dbe0d04784b0bfa8395b91ecbd6001f88f6b
github.com/...ommit/f59ca63133f25de8fceb3e2a0e5cc0b7bdb6a265