Kubevirt: kubevirt virt-handler: privilege escalation and node compromise via symlink following vulnerability
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.6.6, 1.7.4, 1.8.3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
A flaw was found in KubeVirt's virt-handler component. This vulnerability allows an authenticated OpenShift user with edit permissions in a single namespace to exploit improper symlink validation when connecting to virtual machine console sockets. By replacing the console socket with a symlink to the host's container runtime (CRI-O) socket, an attacker can hijack virt-handler's privileged connection. This enables the attacker to access any Unix socket on the host, potentially leading to full control of the node and the entire cluster.
Timeline
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- CVE published
- Record last updated
Affected versions
- kubevirt
fixed in 1.6.6; From 1.7.0 · fixed in 1.7.4; From 1.8.0 · fixed in 1.8.3
- container-native-virtualization/virt-handler
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- container-native-virtualization/virt-handler-rhel9
Version range not reported
- kubevirt.io/kubevirtGo
fixed in 1.6.6; From 1.7.0-alpha.0 · fixed in 1.7.4; From 1.8.0-alpha.0 · fixed in 1.8.3
- kubevirt.io/kubevirtGo
From 1.8.0-alpha.0 · fixed in 1.8.3
- kubevirt.io/kubevirtGo
From 1.7.0-alpha.0 · fixed in 1.7.4
- kubevirt.io/kubevirtGo
fixed in 1.6.6