KubeVirt
KubeVirt Vulnerable to Arbitrary Host File Read and Write
KubeVirt is a virtual machine management add-on for Kubernetes. The `hostDisk` feature in KubeVirt allows mounting a host file or directory owned by the user with UID 107 into a VM. However, prior to version 1.6.1 and 1.7.0, the implementation of this feature and more specifically the `DiskOrCreate` option (which creates a file if it doesn't exist) has a logic bug that allows an attacker to read and write arbitrary files owned by more privileged users on the host system. Versions 1.6.1 and 1.7.0 fix the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-200
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
kubevirt kubevirt
- < 1.6.1
- >= 1.7.0-alpha.0, < 1.7.0-rc.0
Fixed in 1.6.1, 1.7.0-rc.0
Mitigation
Upgrade kubevirt to 1.6.1 or 1.7.0-rc.0 or later.
References
- Vendor advisory github.com/kubevirt/kubevirt/security/advisori…
- Patch github.com/kubevirt/kubevirt/pull/15037
- Patch github.com/kubevirt/kubevirt/commit/00d03e43e3…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.