Auth bypass in Kubevirt
CVE-2023-26484
KubeVirt is a virtual machine management add-on for Kubernetes. In versions 0.59.0 and prior, if a malicious user has taken over a Kubernetes node where virt-handler (the KubeVirt node-daemon) is running, the virt-handler service account can be used to modify all node specs. This can be misused to lure-in system-level-privileged components which can, for instance, read all secrets on the cluster, or can exec into pods on other nodes. This way, a compromised node can be used to elevate privileges beyond the node until potentially having full privileged access to the whole cluster. The simplest way to exploit this, once a user could compromise a specific node, is to set with the virt-handler service account all other nodes to unschedulable and simply wait until system-critical components with high privileges appear on its node. No patches are available as of time of publication. As a workaround, gatekeeper users can add a webhook which will block the `virt-handler` service account to modify the spec of a node.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.006 (47.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Kubevirt — versions <= 0.59.0
Weakness classification (CWE)
References
- github.com/kubevirt/kubevirt/security/advisories/GHSA-cp96-jpmq-xrr2 (Mitigation, Vendor Advisory)
- github.com/kubevirt/kubevirt/issues/9109 (Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2023-26484?
- CVE-2023-26484 is a high-severity vulnerability in Kubevirt, classified under Incorrect Authorization. CVSS score: 8.2/10. Published 2023-03-15.
- How severe is CVE-2023-26484?
- High severity. CVSS v3 base score is 8.2 out of 10.