Kubevirt: kubevirt: symlink following in writetocachedfile allows host file overwrite from virt-launcher
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
A flaw was found in KubeVirt's virt-handler network cache handling. The WriteToCachedFile function writes data to a launcher-rooted path using os.WriteFile and os.Chown without symlink protection. A user with access to the virt-launcher container can plant a symlink at the cache file path, causing virt-handler to follow it and overwrite an arbitrary host file with JSON content and change its ownership.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | OpenShift Virtualization | ||
| go: kubevirt.io/kubevirt | <=1.10.0-rc.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in kubevirt.io/kubevirt (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket